#471F94#471F94
#471F94 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.175 H 291.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #471F94 |
|---|---|
| RGB | rgb(71, 31, 148) |
| HSL | hsl(261, 65%, 35%) |
| HSV | hsv(261, 79%, 58%) |
| CMYK | cmyk(52%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(25.13, 45.72, -56.91) |
| CIE-LCH | lch(25.13, 73.00, 308.78°) |
| OKLab | oklab(37.53% 0.0627 -0.1635) |
| OKLCH | oklch(37.53% 0.175 291) |
| XYZ | xyz(8.4323, 4.4573, 28.4273) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.49
Indigo
#4B0082
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 5.27
Royal
#0C1793
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F94 #6C941F
analogous
#1F3194 #471F94 #821F94
triadic
#471F94 #94471F #1F9447
tetradic
#471F94 #941F31 #6C941F #1F9482
square
#471F94 #941F31 #6C941F #1F9482
split-complementary
#471F94 #94821F #31941F
monochromatic
#160A2F #2F1461 #471F94 #5F2AC7 #8153DB
Accessibility & contrast
On white
11.10
#471F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#471F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F94
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F94 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#2C4059
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #471f94; /* rgb */ color: rgb(71, 31, 148); /* oklch */ color: oklch(37.5% 0.175 291.0);
Tailwind
colors: {
custom: {
50: '#8360b4',
500: '#471f94',
950: '#000000',
},
}SCSS
$custom: #471f94; $custom-light: #8360b4; $custom-dark: #000000;
JSON
{
"hex": "#471f94",
"rgb": {
"r": 71,
"g": 31,
"b": 148
},
"hsl": {
"h": 260.513,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.37528,
"c": 0.17513,
"h": 291
},
"luminance": 0.04458
}Semantic roles & 50–950 ramp
primary
#471F94
secondary
#99BE51
accent
#E83FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980