#472A8E#472A8E
#472A8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.156 H 290.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #472A8E |
|---|---|
| RGB | rgb(71, 42, 142) |
| HSL | hsl(257, 54%, 36%) |
| HSV | hsv(257, 70%, 56%) |
| CMYK | cmyk(50%, 70.4%, 0%, 44.3%) |
| CIE-LAB | lab(26.59, 38.33, -50.82) |
| CIE-LCH | lch(26.59, 63.65, 307.03°) |
| OKLab | oklab(38.39% 0.0544 -0.1457) |
| OKLCH | oklch(38.39% 0.156 290.5) |
| XYZ | xyz(8.3076, 4.9482, 26.1033) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.62
Rebeccapurple
#663399
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.27
Blueberry
#464196
ΔE00 6.71
Indigo
#4B0082
ΔE00 6.82
Indigo (survey)
#380282
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472A8E #718E2A
analogous
#2A3F8E #472A8E #792A8E
triadic
#472A8E #8E472A #2A8E47
tetradic
#472A8E #8E2A3F #718E2A #2A8E79
square
#472A8E #8E2A3F #718E2A #2A8E79
split-complementary
#472A8E #8E792A #3F8E2A
monochromatic
#180E30 #2F1C5F #472A8E #5F38BD #8262D1
Accessibility & contrast
On white
10.55
#472A8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#472A8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472A8E
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472A8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472A8E | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#2F4358
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #472a8e; /* rgb */ color: rgb(71, 42, 142); /* oklch */ color: oklch(38.4% 0.156 290.5);
Tailwind
colors: {
custom: {
50: '#8166b0',
500: '#472a8e',
950: '#000000',
},
}SCSS
$custom: #472a8e; $custom-light: #8166b0; $custom-dark: #000000;
JSON
{
"hex": "#472a8e",
"rgb": {
"r": 71,
"g": 42,
"b": 142
},
"hsl": {
"h": 257.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.38388,
"c": 0.15553,
"h": 290.5
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#472A8E
secondary
#9DB65D
accent
#DE4AB3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80