#412893#412893
#412893 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.165 H 286.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #412893 |
|---|---|
| RGB | rgb(65, 40, 147) |
| HSL | hsl(254, 57%, 37%) |
| HSV | hsv(254, 73%, 58%) |
| CMYK | cmyk(55.8%, 72.8%, 0%, 42.4%) |
| CIE-LAB | lab(26.00, 39.92, -54.89) |
| CIE-LCH | lch(26.00, 67.87, 306.03°) |
| OKLab | oklab(37.96% 0.0463 -0.1579) |
| OKLCH | oklch(37.96% 0.165 286.3) |
| XYZ | xyz(8.2036, 4.7475, 28.0822) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.10
Royal
#0C1793
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 6.74
Indigo
#4B0082
ΔE00 6.96
Blueberry
#464196
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412893 #7A9328
analogous
#284593 #412893 #772893
triadic
#412893 #934128 #289341
tetradic
#412893 #932845 #7A9328 #289377
square
#412893 #932845 #7A9328 #289377
split-complementary
#412893 #937728 #459328
monochromatic
#160E33 #2C1B63 #412893 #5635C3 #7C61D4
Accessibility & contrast
On white
10.77
#412893 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#412893 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412893
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412893 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412893 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#1D455B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #412893; /* rgb */ color: rgb(65, 40, 147); /* oklch */ color: oklch(38.0% 0.165 286.3);
Tailwind
colors: {
custom: {
50: '#7f64b4',
500: '#412893',
950: '#000000',
},
}SCSS
$custom: #412893; $custom-light: #7f64b4; $custom-dark: #000000;
JSON
{
"hex": "#412893",
"rgb": {
"r": 65,
"g": 40,
"b": 147
},
"hsl": {
"h": 254.019,
"s": 57.219,
"l": 36.667
},
"oklch": {
"l": 0.37961,
"c": 0.1645,
"h": 286.3
},
"luminance": 0.04748
}Semantic roles & 50–950 ramp
primary
#412893
secondary
#A4BA5D
accent
#E047BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80