#472C8D#472C8D
#472C8D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.152 H 290.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #472C8D |
|---|---|
| RGB | rgb(71, 44, 141) |
| HSL | hsl(257, 52%, 36%) |
| HSV | hsv(257, 69%, 55%) |
| CMYK | cmyk(49.6%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(26.92, 36.90, -49.66) |
| CIE-LCH | lch(26.92, 61.87, 306.61°) |
| OKLab | oklab(38.6% 0.0525 -0.1423) |
| OKLCH | oklch(38.6% 0.152 290.2) |
| XYZ | xyz(8.3056, 5.0637, 25.7339) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.08
Rebeccapurple
#663399
ΔE00 5.95
Blueberry
#464196
ΔE00 6.24
Indigo Blue
#3A18B1
ΔE00 6.69
Indigo
#4B0082
ΔE00 7.28
Indigo (survey)
#380282
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472C8D #728D2C
analogous
#2C428D #472C8D #782C8D
triadic
#472C8D #8D472C #2C8D47
tetradic
#472C8D #8D2C42 #728D2C #2C8D78
square
#472C8D #8D2C42 #728D2C #2C8D78
split-complementary
#472C8D #8D782C #428D2C
monochromatic
#180F30 #301D5E #472C8D #5E3BBC #8265CF
Accessibility & contrast
On white
10.43
#472C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#472C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472C8D
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472C8D | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#304458
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #472c8d; /* rgb */ color: rgb(71, 44, 141); /* oklch */ color: oklch(38.6% 0.152 290.2);
Tailwind
colors: {
custom: {
50: '#8167af',
500: '#472c8d',
950: '#000000',
},
}SCSS
$custom: #472c8d; $custom-light: #8167af; $custom-dark: #000000;
JSON
{
"hex": "#472c8d",
"rgb": {
"r": 71,
"g": 44,
"b": 141
},
"hsl": {
"h": 256.701,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.38598,
"c": 0.1517,
"h": 290.2
},
"luminance": 0.05064
}Semantic roles & 50–950 ramp
primary
#472C8D
secondary
#9DB560
accent
#DC4CB4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F