#472196#472196
#472196 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.175 H 290.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #472196 |
|---|---|
| RGB | rgb(71, 33, 150) |
| HSL | hsl(259, 64%, 36%) |
| HSV | hsv(259, 78%, 59%) |
| CMYK | cmyk(52.7%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(25.65, 45.34, -57.29) |
| CIE-LCH | lch(25.65, 73.06, 308.36°) |
| OKLab | oklab(37.95% 0.0605 -0.1646) |
| OKLCH | oklch(37.95% 0.175 290.2) |
| XYZ | xyz(8.6458, 4.6289, 29.2862) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.30
Indigo
#4B0082
ΔE00 5.50
Indigo (survey)
#380282
ΔE00 5.71
Royal
#0C1793
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.46
Rebeccapurple
#663399
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472196 #709621
analogous
#213696 #472196 #812196
triadic
#472196 #964721 #219647
tetradic
#472196 #962136 #709621 #219681
square
#472196 #962136 #709621 #219681
split-complementary
#472196 #968121 #369621
monochromatic
#180B32 #2F1664 #472196 #5F2CC8 #8257DA
Accessibility & contrast
On white
10.90
#472196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#472196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472196
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472196 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#2A425B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #472196; /* rgb */ color: rgb(71, 33, 150); /* oklch */ color: oklch(38.0% 0.175 290.2);
Tailwind
colors: {
custom: {
50: '#8361b6',
500: '#472196',
950: '#000000',
},
}SCSS
$custom: #472196; $custom-light: #8361b6; $custom-dark: #000000;
JSON
{
"hex": "#472196",
"rgb": {
"r": 71,
"g": 33,
"b": 150
},
"hsl": {
"h": 259.487,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.37951,
"c": 0.17542,
"h": 290.2
},
"luminance": 0.04629
}Semantic roles & 50–950 ramp
primary
#472196
secondary
#9CBE55
accent
#E741B1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980