#412492#412492
#412492 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.168 H 287.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #412492 |
|---|---|
| RGB | rgb(65, 36, 146) |
| HSL | hsl(256, 60%, 36%) |
| HSV | hsv(256, 75%, 57%) |
| CMYK | cmyk(55.5%, 75.3%, 0%, 42.7%) |
| CIE-LAB | lab(25.14, 41.78, -55.69) |
| CIE-LCH | lch(25.14, 69.62, 306.88°) |
| OKLab | oklab(37.32% 0.0499 -0.1602) |
| OKLCH | oklch(37.32% 0.168 287.3) |
| XYZ | xyz(7.9976, 4.4605, 27.6281) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.79
Royal
#0C1793
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.85
Indigo
#4B0082
ΔE00 6.09
Cobalt Blue
#030AA7
ΔE00 6.68
Ultramarine
#2000B1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412492 #759224
analogous
#243E92 #412492 #782492
triadic
#412492 #924124 #249241
tetradic
#412492 #92243E #759224 #249278
square
#412492 #92243E #759224 #249278
split-complementary
#412492 #927824 #3E9224
monochromatic
#150C30 #2B1861 #412492 #5730C3 #7B5AD6
Accessibility & contrast
On white
11.10
#412492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412492
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412492 | 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)
#003E95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#1F4259
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412492; /* rgb */ color: rgb(65, 36, 146); /* oklch */ color: oklch(37.3% 0.168 287.3);
Tailwind
colors: {
custom: {
50: '#7f62b3',
500: '#412492',
950: '#000000',
},
}SCSS
$custom: #412492; $custom-light: #7f62b3; $custom-dark: #000000;
JSON
{
"hex": "#412492",
"rgb": {
"r": 65,
"g": 36,
"b": 146
},
"hsl": {
"h": 255.818,
"s": 60.44,
"l": 35.686
},
"oklch": {
"l": 0.3732,
"c": 0.16778,
"h": 287.3
},
"luminance": 0.04461
}Semantic roles & 50–950 ramp
primary
#412492
secondary
#A1BB57
accent
#E444BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980