#471F97#471F97
#471F97 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.179 H 290.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #471F97 |
|---|---|
| RGB | rgb(71, 31, 151) |
| HSL | hsl(260, 66%, 36%) |
| HSV | hsv(260, 79%, 59%) |
| CMYK | cmyk(53%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.42, 46.55, -58.28) |
| CIE-LCH | lch(25.42, 74.59, 308.62°) |
| OKLab | oklab(37.82% 0.0618 -0.1675) |
| OKLCH | oklch(37.82% 0.179 290.2) |
| XYZ | xyz(8.6728, 4.5536, 29.6941) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Indigo
#4B0082
ΔE00 5.29
Indigo (survey)
#380282
ΔE00 5.49
Ultramarine
#2000B1
ΔE00 6.15
Royal
#0C1793
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F97 #6F971F
analogous
#1F3397 #471F97 #831F97
triadic
#471F97 #97471F #1F9747
tetradic
#471F97 #971F33 #6F971F #1F9783
square
#471F97 #971F33 #6F971F #1F9783
split-complementary
#471F97 #97831F #33971F
monochromatic
#170A31 #2F1564 #471F97 #5F29CA #8254DC
Accessibility & contrast
On white
10.99
#471F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#471F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F97
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F97 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#2A415B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #471f97; /* rgb */ color: rgb(71, 31, 151); /* oklch */ color: oklch(37.8% 0.179 290.2);
Tailwind
colors: {
custom: {
50: '#8360b7',
500: '#471f97',
950: '#000000',
},
}SCSS
$custom: #471f97; $custom-light: #8360b7; $custom-dark: #000000;
JSON
{
"hex": "#471f97",
"rgb": {
"r": 71,
"g": 31,
"b": 151
},
"hsl": {
"h": 260,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.37821,
"c": 0.17855,
"h": 290.2
},
"luminance": 0.04554
}Semantic roles & 50–950 ramp
primary
#471F97
secondary
#9BBF52
accent
#E93FB0
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980