#472299#472299
#472299 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 289.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #472299 |
|---|---|
| RGB | rgb(71, 34, 153) |
| HSL | hsl(259, 64%, 37%) |
| HSV | hsv(259, 78%, 60%) |
| CMYK | cmyk(53.6%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(26.11, 45.71, -58.38) |
| CIE-LCH | lch(26.11, 74.15, 308.06°) |
| OKLab | oklab(38.36% 0.0589 -0.1678) |
| OKLCH | oklch(38.36% 0.178 289.3) |
| XYZ | xyz(8.9187, 4.7831, 30.5841) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Indigo
#4B0082
ΔE00 5.92
Indigo (survey)
#380282
ΔE00 6.09
Royal
#0C1793
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.32
Violet Blue
#510AC9
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472299 #749922
analogous
#223999 #472299 #832299
triadic
#472299 #994722 #229947
tetradic
#472299 #992239 #749922 #229983
square
#472299 #992239 #749922 #229983
split-complementary
#472299 #998322 #399922
monochromatic
#190C35 #301767 #472299 #5E2DCB #835BDB
Accessibility & contrast
On white
10.73
#472299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#472299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472299
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472299 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#28445C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #472299; /* rgb */ color: rgb(71, 34, 153); /* oklch */ color: oklch(38.4% 0.178 289.3);
Tailwind
colors: {
custom: {
50: '#8462b8',
500: '#472299',
950: '#000000',
},
}SCSS
$custom: #472299; $custom-light: #8462b8; $custom-dark: #000000;
JSON
{
"hex": "#472299",
"rgb": {
"r": 71,
"g": 34,
"b": 153
},
"hsl": {
"h": 258.655,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.38359,
"c": 0.17788,
"h": 289.3
},
"luminance": 0.04784
}Semantic roles & 50–950 ramp
primary
#472299
secondary
#9FBF58
accent
#E741B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80