#472392#472392
#472392 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.169 H 290.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #472392 |
|---|---|
| RGB | rgb(71, 35, 146) |
| HSL | hsl(259, 61%, 35%) |
| HSV | hsv(259, 76%, 57%) |
| CMYK | cmyk(51.4%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(25.61, 43.23, -54.89) |
| CIE-LCH | lch(25.61, 69.86, 308.22°) |
| OKLab | oklab(37.81% 0.06 -0.1576) |
| OKLCH | oklch(37.81% 0.169 290.8) |
| XYZ | xyz(8.3864, 4.6166, 27.6378) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.99
Indigo
#4B0082
ΔE00 5.53
Indigo (survey)
#380282
ΔE00 5.81
Royal
#0C1793
ΔE00 6.46
Rebeccapurple
#663399
ΔE00 6.52
Ultramarine
#2000B1
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472392 #6E9223
analogous
#233792 #472392 #7E2392
triadic
#472392 #924723 #239247
tetradic
#472392 #922337 #6E9223 #23927E
square
#472392 #922337 #6E9223 #23927E
split-complementary
#472392 #927E23 #379223
monochromatic
#170B2F #2F1761 #472392 #5F2FC3 #8158D7
Accessibility & contrast
On white
10.92
#472392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#472392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472392
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472392 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#2D4159
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #472392; /* rgb */ color: rgb(71, 35, 146); /* oklch */ color: oklch(37.8% 0.169 290.8);
Tailwind
colors: {
custom: {
50: '#8262b3',
500: '#472392',
950: '#000000',
},
}SCSS
$custom: #472392; $custom-light: #8262b3; $custom-dark: #000000;
JSON
{
"hex": "#472392",
"rgb": {
"r": 71,
"g": 35,
"b": 146
},
"hsl": {
"h": 259.459,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.37809,
"c": 0.16865,
"h": 290.8
},
"luminance": 0.04617
}Semantic roles & 50–950 ramp
primary
#472392
secondary
#9ABB55
accent
#E443B0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980