ungu #800080
ungu (#800080) is a W3C CSS Color 4 standard name in the Magenta family, with medium lightness and 100% saturation. White text gives 9.42:1 (AAA), black 2.23:1 (fails AA); for body text use #ffffff. 27 names across 24 languages are recorded for this color.
Warna analog
Five neighbouring hues at ±30° in the perceptually uniform OKLCH space, with a slight lightness gradient so the palette is usable as-is.
:root{
--analogous-1: #6429ac;
--analogous-2: #741998;
--analogous-3: #800080;
--analogous-4: #890065;
--analogous-5: #8e0047;
}
Ready-to-use schemes
Soft layer
Base plus two near neighbours — backgrounds, cards and charts that stay quiet.
Base + accent
Analogous base with one complementary accent — keep the accent small.
Warna apa sesuai dengan ungu
What colors go with ungu? The complementary color is #006600; analogous neighbours #6429AC and #8E0047; split-complementary #475700, #006A4E; triadic #773E00, #006384.
Complementary / split
Triadic
Monochromatic
Nilai warna
| HEX | #800080 |
|---|---|
| RGB | 128, 0, 128 |
| HSL | 300°, 100%, 25% |
| HSV | 300°, 100%, 50% |
| CMYK | 0%, 100%, 0%, 50% |
| OKLCH | 0.421 / 0.193 / 328.4° |
CMYK values are device-independent approximations; use a real ICC profile for print.
What color is #800080? It is ungu. #800080 in RGB is 128, 0, 128; HSL 300°, 100%, 25%; HSV 300°, 100%, 50%; CMYK 0%, 100%, 0%, 50%; OKLCH 0.421 / 0.193 / 328.4°.
Copy-ready code
:root{
--color: #800080;
--color-rgb: 128, 0, 128;
}
Kontras teks (WCAG)
| White text | 9.42:1 AAA |
|---|---|
| Black text | 2.23:1 fails AA |
| Recommended text | #ffffff |
White or black text on ungu? White gives 9.42:1 (AAA), black 2.23:1 (fails AA); use #ffffff. AA body text needs 4.5:1, large text 3:1, AAA 7:1.
Alat
Everything below runs in your browser — nothing is sent to a server.
Kontras · WCAG
Pratonton
Teks contoh
Tahap kecerahan
Shades of ungu: lighter tints #CC99CC, #E6CCE6; darker shades #550055, #150015. All ten lightness steps are listed below with copyable HEX codes.
Profil warna
| Family | Magenta |
|---|---|
| Lightness | medium |
| Standard name | W3C CSS Color 4 |
| Source | W3C-CSS4 |
| Confidence | verified |
| Names total | 27 |
| Languages | 24 |
| Recommended text | #ffffff |
Cuba sebarang warna
Computed locally in your browser — no request is sent to the server.
Warna serupa ungu
Colors similar to ungu (#800080), nearest first: magenta tua #8B008B. Ranked by perceptual OKLab color difference; magenta tua is the closest recorded color.