#472496#472496
#472496 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.172 H 289.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #472496 |
|---|---|
| RGB | rgb(71, 36, 150) |
| HSL | hsl(258, 61%, 36%) |
| HSV | hsv(258, 76%, 59%) |
| CMYK | cmyk(52.7%, 76%, 0%, 41.2%) |
| CIE-LAB | lab(26.17, 43.87, -56.44) |
| CIE-LCH | lch(26.17, 71.49, 307.85°) |
| OKLab | oklab(38.31% 0.0581 -0.1622) |
| OKLCH | oklch(38.31% 0.172 289.7) |
| XYZ | xyz(8.7328, 4.8030, 29.3152) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Indigo
#4B0082
ΔE00 6.01
Indigo (survey)
#380282
ΔE00 6.21
Royal
#0C1793
ΔE00 6.44
Rebeccapurple
#663399
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472496 #739624
analogous
#243A96 #472496 #802496
triadic
#472496 #964724 #249647
tetradic
#472496 #96243A #739624 #249680
square
#472496 #96243A #739624 #249680
split-complementary
#472496 #968024 #3A9624
monochromatic
#180C33 #301865 #472496 #5E30C7 #825CD8
Accessibility & contrast
On white
10.71
#472496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#472496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472496
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472496 | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#2A435B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #472496; /* rgb */ color: rgb(71, 36, 150); /* oklch */ color: oklch(38.3% 0.172 289.7);
Tailwind
colors: {
custom: {
50: '#8363b6',
500: '#472496',
950: '#000000',
},
}SCSS
$custom: #472496; $custom-light: #8363b6; $custom-dark: #000000;
JSON
{
"hex": "#472496",
"rgb": {
"r": 71,
"g": 36,
"b": 150
},
"hsl": {
"h": 258.421,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.38312,
"c": 0.17229,
"h": 289.7
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#472496
secondary
#9EBD59
accent
#E443B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80