#412490#412490
#412490 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.165 H 287.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #412490 |
|---|---|
| RGB | rgb(65, 36, 144) |
| HSL | hsl(256, 60%, 35%) |
| HSV | hsv(256, 75%, 56%) |
| CMYK | cmyk(54.9%, 75%, 0%, 43.5%) |
| CIE-LAB | lab(24.95, 41.18, -54.76) |
| CIE-LCH | lch(24.95, 68.52, 306.94°) |
| OKLab | oklab(37.13% 0.0504 -0.1575) |
| OKLCH | oklch(37.13% 0.165 287.7) |
| XYZ | xyz(7.8434, 4.3988, 26.8159) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 5.71
Indigo (survey)
#380282
ΔE00 5.75
Indigo
#4B0082
ΔE00 5.98
Cobalt Blue
#030AA7
ΔE00 6.84
Ultramarine
#2000B1
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412490 #739024
analogous
#243D90 #412490 #772490
triadic
#412490 #904124 #249041
tetradic
#412490 #90243D #739024 #249077
square
#412490 #90243D #739024 #249077
split-complementary
#412490 #907724 #3D9024
monochromatic
#150C2E #2B185F #412490 #5730C1 #7A59D5
Accessibility & contrast
On white
11.17
#412490 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#412490 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412490
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412490 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412490 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#214158
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412490; /* rgb */ color: rgb(65, 36, 144); /* oklch */ color: oklch(37.1% 0.165 287.7);
Tailwind
colors: {
custom: {
50: '#7f62b2',
500: '#412490',
950: '#000000',
},
}SCSS
$custom: #412490; $custom-light: #7f62b2; $custom-dark: #000000;
JSON
{
"hex": "#412490",
"rgb": {
"r": 65,
"g": 36,
"b": 144
},
"hsl": {
"h": 256.111,
"s": 60,
"l": 35.294
},
"oklch": {
"l": 0.37128,
"c": 0.16535,
"h": 287.7
},
"luminance": 0.04399
}Semantic roles & 50–950 ramp
primary
#412490
secondary
#9FBA56
accent
#E345B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980