#472897#472897
#472897 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.169 H 288.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #472897 |
|---|---|
| RGB | rgb(71, 40, 151) |
| HSL | hsl(257, 58%, 37%) |
| HSV | hsv(257, 74%, 59%) |
| CMYK | cmyk(53%, 73.5%, 0%, 40.8%) |
| CIE-LAB | lab(26.99, 42.09, -55.70) |
| CIE-LCH | lch(26.99, 69.82, 307.07°) |
| OKLab | oklab(38.92% 0.0544 -0.16) |
| OKLCH | oklch(38.92% 0.169 288.8) |
| XYZ | xyz(8.9416, 5.0911, 29.7837) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.80
Rebeccapurple
#663399
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.48
Royal
#0C1793
ΔE00 6.78
Indigo
#4B0082
ΔE00 6.83
Indigo (survey)
#380282
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472897 #789728
analogous
#284097 #472897 #7F2897
triadic
#472897 #974728 #289747
tetradic
#472897 #972840 #789728 #28977F
square
#472897 #972840 #789728 #28977F
split-complementary
#472897 #977F28 #409728
monochromatic
#1A0E36 #301B67 #472897 #5E35C7 #8364D6
Accessibility & contrast
On white
10.40
#472897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#472897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472897
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472897 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#29465D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #472897; /* rgb */ color: rgb(71, 40, 151); /* oklch */ color: oklch(38.9% 0.169 288.8);
Tailwind
colors: {
custom: {
50: '#8365b7',
500: '#472897',
950: '#000000',
},
}SCSS
$custom: #472897; $custom-light: #8365b7; $custom-dark: #000000;
JSON
{
"hex": "#472897",
"rgb": {
"r": 71,
"g": 40,
"b": 151
},
"hsl": {
"h": 256.757,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.38924,
"c": 0.16905,
"h": 288.8
},
"luminance": 0.05092
}Semantic roles & 50–950 ramp
primary
#472897
secondary
#A2BC5F
accent
#E146B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80