#471F9B#471F9B
#471F9B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.183 H 289.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #471F9B |
|---|---|
| RGB | rgb(71, 31, 155) |
| HSL | hsl(259, 67%, 36%) |
| HSV | hsv(259, 80%, 61%) |
| CMYK | cmyk(54.2%, 80%, 0%, 39.2%) |
| CIE-LAB | lab(25.82, 47.67, -60.08) |
| CIE-LCH | lch(25.82, 76.69, 308.43°) |
| OKLab | oklab(38.22% 0.0605 -0.1728) |
| OKLCH | oklch(38.22% 0.183 289.3) |
| XYZ | xyz(9.0032, 4.6857, 31.4340) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.54
Indigo
#4B0082
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.82
Indigo (survey)
#380282
ΔE00 5.83
Royal
#0C1793
ΔE00 6.17
Violet Blue
#510AC9
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F9B #739B1F
analogous
#1F359B #471F9B #851F9B
triadic
#471F9B #9B471F #1F9B47
tetradic
#471F9B #9B1F35 #739B1F #1F9B85
square
#471F9B #9B1F35 #739B1F #1F9B85
split-complementary
#471F9B #9B851F #359B1F
monochromatic
#180B35 #301568 #471F9B #5E29CE #8257DD
Accessibility & contrast
On white
10.84
#471F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#471F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F9B
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F9B | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#26435D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #471f9b; /* rgb */ color: rgb(71, 31, 155); /* oklch */ color: oklch(38.2% 0.183 289.3);
Tailwind
colors: {
custom: {
50: '#8460ba',
500: '#471f9b',
950: '#000000',
},
}SCSS
$custom: #471f9b; $custom-light: #8460ba; $custom-dark: #000000;
JSON
{
"hex": "#471f9b",
"rgb": {
"r": 71,
"g": 31,
"b": 155
},
"hsl": {
"h": 259.355,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.38218,
"c": 0.18307,
"h": 289.3
},
"luminance": 0.04686
}Semantic roles & 50–950 ramp
primary
#471F9B
secondary
#9EC155
accent
#EA3EB2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981