#412891#412891
#412891 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.162 H 286.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #412891 |
|---|---|
| RGB | rgb(65, 40, 145) |
| HSL | hsl(254, 57%, 36%) |
| HSV | hsv(254, 72%, 57%) |
| CMYK | cmyk(55.2%, 72.4%, 0%, 43.1%) |
| CIE-LAB | lab(25.82, 39.31, -53.96) |
| CIE-LCH | lch(25.82, 66.76, 306.07°) |
| OKLab | oklab(37.77% 0.0467 -0.1551) |
| OKLCH | oklch(37.77% 0.162 286.8) |
| XYZ | xyz(8.0481, 4.6853, 27.2629) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.37
Royal
#0C1793
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.19
Indigo (survey)
#380282
ΔE00 6.66
Indigo
#4B0082
ΔE00 6.87
Blueberry
#464196
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412891 #789128
analogous
#284491 #412891 #762891
triadic
#412891 #914128 #289141
tetradic
#412891 #912844 #789128 #289176
square
#412891 #912844 #789128 #289176
split-complementary
#412891 #917628 #449128
monochromatic
#160E31 #2B1B61 #412891 #5735C1 #7C60D3
Accessibility & contrast
On white
10.84
#412891 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#412891 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412891
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412891 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412891 | 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)
#004094
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#204459
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412891; /* rgb */ color: rgb(65, 40, 145); /* oklch */ color: oklch(37.8% 0.162 286.8);
Tailwind
colors: {
custom: {
50: '#7e64b2',
500: '#412891',
950: '#000000',
},
}SCSS
$custom: #412891; $custom-light: #7e64b2; $custom-dark: #000000;
JSON
{
"hex": "#412891",
"rgb": {
"r": 65,
"g": 40,
"b": 145
},
"hsl": {
"h": 254.286,
"s": 56.757,
"l": 36.275
},
"oklch": {
"l": 0.37773,
"c": 0.162,
"h": 286.8
},
"luminance": 0.04686
}Semantic roles & 50–950 ramp
primary
#412891
secondary
#A3B95C
accent
#E048BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80