#471D7C#471D7C
#471D7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.150 H 298.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #471D7C |
|---|---|
| RGB | rgb(71, 29, 124) |
| HSL | hsl(267, 62%, 30%) |
| HSV | hsv(267, 77%, 49%) |
| CMYK | cmyk(42.7%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(22.56, 40.08, -46.10) |
| CIE-LCH | lch(22.56, 61.08, 311.00°) |
| OKLab | oklab(35.04% 0.0711 -0.1318) |
| OKLCH | oklch(35.04% 0.15 298.4) |
| XYZ | xyz(6.6751, 3.6735, 19.4222) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.94
Royal Purple (survey)
#4B006E
ΔE00 4.82
Indigo (survey)
#380282
ΔE00 4.90
Midnight Blue
#191970
ΔE00 7.24
Rebeccapurple
#663399
ΔE00 7.86
Royal
#0C1793
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471D7C #527C1D
analogous
#1D237C #471D7C #761D7C
triadic
#471D7C #7C471D #1D7C47
tetradic
#471D7C #7C1D23 #527C1D #1D7C76
square
#471D7C #7C1D23 #527C1D #1D7C76
split-complementary
#471D7C #7C761D #237C1D
monochromatic
#0E0619 #2B114A #471D7C #6329AE #8141D3
Accessibility & contrast
On white
12.11
#471D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471D7C
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471D7C | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3A364B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471d7c; /* rgb */ color: rgb(71, 29, 124); /* oklch */ color: oklch(35.0% 0.150 298.4);
Tailwind
colors: {
custom: {
50: '#805da3',
500: '#471d7c',
950: '#000000',
},
}SCSS
$custom: #471d7c; $custom-light: #805da3; $custom-dark: #000000;
JSON
{
"hex": "#471d7c",
"rgb": {
"r": 71,
"g": 29,
"b": 124
},
"hsl": {
"h": 266.526,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.35041,
"c": 0.14976,
"h": 298.4
},
"luminance": 0.03674
}Semantic roles & 50–950 ramp
primary
#471D7C
secondary
#81B045
accent
#E5439D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F