#472C8A#472C8A
#472C8A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.148 H 291.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #472C8A |
|---|---|
| RGB | rgb(71, 44, 138) |
| HSL | hsl(257, 52%, 36%) |
| HSV | hsv(257, 68%, 54%) |
| CMYK | cmyk(48.6%, 68.1%, 0%, 45.9%) |
| CIE-LAB | lab(26.67, 36.00, -48.21) |
| CIE-LCH | lch(26.67, 60.17, 306.75°) |
| OKLab | oklab(38.34% 0.0529 -0.1381) |
| OKLCH | oklch(38.34% 0.148 291) |
| XYZ | xyz(8.0854, 4.9756, 24.5742) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.01
Rebeccapurple
#663399
ΔE00 6.03
Blueberry
#464196
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 7.13
Indigo
#4B0082
ΔE00 7.23
Indigo (survey)
#380282
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#472C8A #6F8A2C
analogous
#2C408A #472C8A #762C8A
triadic
#472C8A #8A472C #2C8A47
tetradic
#472C8A #8A2C40 #6F8A2C #2C8A76
square
#472C8A #8A2C40 #6F8A2C #2C8A76
split-complementary
#472C8A #8A762C #408A2C
monochromatic
#170E2D #2F1D5C #472C8A #5F3BB8 #8263CD
Accessibility & contrast
On white
10.53
#472C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#472C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #472C8A
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##472C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##472C8A | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#324357
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #472c8a; /* rgb */ color: rgb(71, 44, 138); /* oklch */ color: oklch(38.3% 0.148 291.0);
Tailwind
colors: {
custom: {
50: '#8067ad',
500: '#472c8a',
950: '#000000',
},
}SCSS
$custom: #472c8a; $custom-light: #8067ad; $custom-dark: #000000;
JSON
{
"hex": "#472c8a",
"rgb": {
"r": 71,
"g": 44,
"b": 138
},
"hsl": {
"h": 257.234,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.3834,
"c": 0.14786,
"h": 291
},
"luminance": 0.04976
}Semantic roles & 50–950 ramp
primary
#472C8A
secondary
#9BB45E
accent
#DB4DB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F