#412892#412892
#412892 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.163 H 286.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #412892 |
|---|---|
| RGB | rgb(65, 40, 146) |
| HSL | hsl(254, 57%, 36%) |
| HSV | hsv(254, 73%, 57%) |
| CMYK | cmyk(55.5%, 72.6%, 0%, 42.7%) |
| CIE-LAB | lab(25.91, 39.61, -54.42) |
| CIE-LCH | lch(25.91, 67.31, 306.05°) |
| OKLab | oklab(37.87% 0.0465 -0.1565) |
| OKLCH | oklch(37.87% 0.163 286.5) |
| XYZ | xyz(8.1255, 4.7163, 27.6707) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 6.07
Darkslateblue
#483D8B
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.70
Indigo
#4B0082
ΔE00 6.92
Blueberry
#464196
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412892 #799228
analogous
#284492 #412892 #762892
triadic
#412892 #924128 #289241
tetradic
#412892 #922844 #799228 #289276
square
#412892 #922844 #799228 #289276
split-complementary
#412892 #927628 #449228
monochromatic
#160E32 #2C1B62 #412892 #5635C2 #7C61D4
Accessibility & contrast
On white
10.81
#412892 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#412892 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412892
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412892 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412892 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#1F445A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412892; /* rgb */ color: rgb(65, 40, 146); /* oklch */ color: oklch(37.9% 0.163 286.5);
Tailwind
colors: {
custom: {
50: '#7f64b3',
500: '#412892',
950: '#000000',
},
}SCSS
$custom: #412892; $custom-light: #7f64b3; $custom-dark: #000000;
JSON
{
"hex": "#412892",
"rgb": {
"r": 65,
"g": 40,
"b": 146
},
"hsl": {
"h": 254.151,
"s": 56.989,
"l": 36.471
},
"oklch": {
"l": 0.37867,
"c": 0.16326,
"h": 286.5
},
"luminance": 0.04717
}Semantic roles & 50–950 ramp
primary
#412892
secondary
#A3B95D
accent
#E048BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80