#472292#472292
#472292 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.170 H 291.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #472292 |
|---|---|
| RGB | rgb(71, 34, 146) |
| HSL | hsl(260, 62%, 35%) |
| HSV | hsv(260, 77%, 57%) |
| CMYK | cmyk(51.4%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(25.44, 43.73, -55.17) |
| CIE-LCH | lch(25.44, 70.40, 308.40°) |
| OKLab | oklab(37.69% 0.0609 -0.1584) |
| OKLCH | oklch(37.69% 0.17 291) |
| XYZ | xyz(8.3574, 4.5586, 27.6281) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.93
Indigo
#4B0082
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 5.63
Royal
#0C1793
ΔE00 6.40
Rebeccapurple
#663399
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472292 #6D9222
analogous
#223592 #472292 #7F2292
triadic
#472292 #924722 #229247
tetradic
#472292 #922235 #6D9222 #22927F
square
#472292 #922235 #6D9222 #22927F
split-complementary
#472292 #927F22 #359222
monochromatic
#170B2F #2F1660 #472292 #5F2EC4 #8157D8
Accessibility & contrast
On white
10.98
#472292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#472292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472292
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472292 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#2D4158
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #472292; /* rgb */ color: rgb(71, 34, 146); /* oklch */ color: oklch(37.7% 0.170 291.0);
Tailwind
colors: {
custom: {
50: '#8261b3',
500: '#472292',
950: '#000000',
},
}SCSS
$custom: #472292; $custom-light: #8261b3; $custom-dark: #000000;
JSON
{
"hex": "#472292",
"rgb": {
"r": 71,
"g": 34,
"b": 146
},
"hsl": {
"h": 259.821,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.37686,
"c": 0.16973,
"h": 291
},
"luminance": 0.04559
}Semantic roles & 50–950 ramp
primary
#472292
secondary
#9ABC54
accent
#E543B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980