#472691#472691
#472691 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.164 H 290.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #472691 |
|---|---|
| RGB | rgb(71, 38, 145) |
| HSL | hsl(259, 58%, 36%) |
| HSV | hsv(259, 74%, 57%) |
| CMYK | cmyk(51%, 73.8%, 0%, 43.1%) |
| CIE-LAB | lab(26.07, 41.39, -53.52) |
| CIE-LCH | lch(26.07, 67.66, 307.72°) |
| OKLab | oklab(38.1% 0.0576 -0.1536) |
| OKLCH | oklch(38.1% 0.164 290.5) |
| XYZ | xyz(8.4010, 4.7698, 27.2606) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.38
Indigo
#4B0082
ΔE00 6.06
Rebeccapurple
#663399
ΔE00 6.26
Indigo (survey)
#380282
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.66
Royal
#0C1793
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472691 #709126
analogous
#263A91 #472691 #7C2691
triadic
#472691 #914726 #269147
tetradic
#472691 #91263A #709126 #26917C
square
#472691 #91263A #709126 #26917C
split-complementary
#472691 #917C26 #3A9126
monochromatic
#180D30 #2F1961 #472691 #5F33C1 #825DD5
Accessibility & contrast
On white
10.75
#472691 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#472691 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472691
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472691 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472691 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#2E4259
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #472691; /* rgb */ color: rgb(71, 38, 145); /* oklch */ color: oklch(38.1% 0.164 290.5);
Tailwind
colors: {
custom: {
50: '#8264b2',
500: '#472691',
950: '#000000',
},
}SCSS
$custom: #472691; $custom-light: #8264b2; $custom-dark: #000000;
JSON
{
"hex": "#472691",
"rgb": {
"r": 71,
"g": 38,
"b": 145
},
"hsl": {
"h": 258.505,
"s": 58.47,
"l": 35.882
},
"oklch": {
"l": 0.38102,
"c": 0.16408,
"h": 290.5
},
"luminance": 0.0477
}Semantic roles & 50–950 ramp
primary
#472691
secondary
#9CBA59
accent
#E246B2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80