#472E9A#472E9A
#472E9A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.166 H 287.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #472E9A |
|---|---|
| RGB | rgb(71, 46, 154) |
| HSL | hsl(254, 54%, 39%) |
| HSV | hsv(254, 70%, 60%) |
| CMYK | cmyk(53.9%, 70.1%, 0%, 39.6%) |
| CIE-LAB | lab(28.45, 39.69, -55.16) |
| CIE-LCH | lch(28.45, 67.95, 305.74°) |
| OKLab | oklab(40.04% 0.0484 -0.1585) |
| OKLCH | oklch(40.04% 0.166 287) |
| XYZ | xyz(9.4065, 5.6262, 31.1559) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.38
Indigo Blue
#3A18B1
ΔE00 5.40
Blueberry
#464196
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 5.95
Sapphire (survey)
#2138AB
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472E9A #819A2E
analogous
#2E4B9A #472E9A #7D2E9A
triadic
#472E9A #9A472E #2E9A47
tetradic
#472E9A #9A2E4B #819A2E #2E9A7D
square
#472E9A #9A2E4B #819A2E #2E9A7D
split-complementary
#472E9A #9A7D2E #4B9A2E
monochromatic
#1C123C #31206B #472E9A #5F3FC6 #866FD4
Accessibility & contrast
On white
9.88
#472E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#472E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472E9A
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472E9A | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#264A60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #472e9a; /* rgb */ color: rgb(71, 46, 154); /* oklch */ color: oklch(40.0% 0.166 287.0);
Tailwind
colors: {
custom: {
50: '#8369b9',
500: '#472e9a',
950: '#000000',
},
}SCSS
$custom: #472e9a; $custom-light: #8369b9; $custom-dark: #000000;
JSON
{
"hex": "#472e9a",
"rgb": {
"r": 71,
"g": 46,
"b": 154
},
"hsl": {
"h": 253.889,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.40044,
"c": 0.16569,
"h": 287
},
"luminance": 0.05627
}Semantic roles & 50–950 ramp
primary
#472E9A
secondary
#A8BB69
accent
#DD4ABB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80