#471A7C#471A7C
#471A7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.153 H 298.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #471A7C |
|---|---|
| RGB | rgb(71, 26, 124) |
| HSL | hsl(268, 65%, 29%) |
| HSV | hsv(268, 79%, 49%) |
| CMYK | cmyk(42.7%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(22.07, 41.49, -46.91) |
| CIE-LCH | lch(22.07, 62.63, 311.49°) |
| OKLab | oklab(34.69% 0.0739 -0.1341) |
| OKLCH | oklch(34.69% 0.153 298.9) |
| XYZ | xyz(6.6051, 3.5335, 19.3989) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.37
Royal Purple (survey)
#4B006E
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.43
Midnight Blue
#191970
ΔE00 7.29
Royal
#0C1793
ΔE00 7.88
Rebeccapurple
#663399
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471A7C #4F7C1A
analogous
#1A1E7C #471A7C #781A7C
triadic
#471A7C #7C471A #1A7C47
tetradic
#471A7C #7C1A1E #4F7C1A #1A7C78
square
#471A7C #7C1A1E #4F7C1A #1A7C78
split-complementary
#471A7C #7C781A #1E7C1A
monochromatic
#0E0519 #2A0F49 #471A7C #6425AF #823BD6
Accessibility & contrast
On white
12.30
#471A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#471A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471A7C
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471A7C | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471a7c; /* rgb */ color: rgb(71, 26, 124); /* oklch */ color: oklch(34.7% 0.153 298.9);
Tailwind
colors: {
custom: {
50: '#805ca3',
500: '#471a7c',
950: '#000000',
},
}SCSS
$custom: #471a7c; $custom-light: #805ca3; $custom-dark: #000000;
JSON
{
"hex": "#471a7c",
"rgb": {
"r": 71,
"g": 26,
"b": 124
},
"hsl": {
"h": 267.551,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.34693,
"c": 0.15318,
"h": 298.9
},
"luminance": 0.03534
}Semantic roles & 50–950 ramp
primary
#471A7C
secondary
#7DB042
accent
#E8409B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F