#472F95#472F95
#472F95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.158 H 287.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #472F95 |
|---|---|
| RGB | rgb(71, 47, 149) |
| HSL | hsl(254, 52%, 38%) |
| HSV | hsv(254, 68%, 58%) |
| CMYK | cmyk(52.3%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(28.23, 37.59, -52.46) |
| CIE-LCH | lch(28.23, 64.53, 305.62°) |
| OKLab | oklab(39.75% 0.0482 -0.1505) |
| OKLCH | oklch(39.75% 0.158 287.8) |
| XYZ | xyz(9.0383, 5.5421, 29.0214) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.75
Blueberry
#464196
ΔE00 5.39
Rebeccapurple
#663399
ΔE00 5.86
Indigo Blue
#3A18B1
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 6.65
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472F95 #7D952F
analogous
#2F4A95 #472F95 #7A2F95
triadic
#472F95 #95472F #2F9547
tetradic
#472F95 #952F4A #7D952F #2F957A
square
#472F95 #952F4A #7D952F #2F957A
split-complementary
#472F95 #957A2F #4A952F
monochromatic
#1B1238 #312066 #472F95 #5E3FC2 #856DD1
Accessibility & contrast
On white
9.96
#472F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#472F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472F95
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472F95 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#2A495E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #472f95; /* rgb */ color: rgb(71, 47, 149); /* oklch */ color: oklch(39.8% 0.158 287.8);
Tailwind
colors: {
custom: {
50: '#8269b5',
500: '#472f95',
950: '#000000',
},
}SCSS
$custom: #472f95; $custom-light: #8269b5; $custom-dark: #000000;
JSON
{
"hex": "#472f95",
"rgb": {
"r": 71,
"g": 47,
"b": 149
},
"hsl": {
"h": 254.118,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.39751,
"c": 0.15809,
"h": 287.8
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#472F95
secondary
#A5B867
accent
#DB4CBA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80