#412292#412292
#412292 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.170 H 287.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #412292 |
|---|---|
| RGB | rgb(65, 34, 146) |
| HSL | hsl(257, 62%, 35%) |
| HSV | hsv(257, 77%, 57%) |
| CMYK | cmyk(55.5%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.77, 42.81, -56.29) |
| CIE-LCH | lch(24.77, 70.72, 307.26°) |
| OKLab | oklab(37.06% 0.0515 -0.1619) |
| OKLCH | oklch(37.06% 0.17 287.6) |
| XYZ | xyz(7.9388, 4.3428, 27.6085) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.64
Indigo (survey)
#380282
ΔE00 5.46
Royal
#0C1793
ΔE00 5.50
Indigo
#4B0082
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412292 #739222
analogous
#223B92 #412292 #792292
triadic
#412292 #924122 #229241
tetradic
#412292 #92223B #739222 #229279
square
#412292 #92223B #739222 #229279
split-complementary
#412292 #927922 #3B9222
monochromatic
#150B2F #2B1660 #412292 #572EC4 #7A57D8
Accessibility & contrast
On white
11.24
#412292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#412292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412292
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412292 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#1F4158
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412292; /* rgb */ color: rgb(65, 34, 146); /* oklch */ color: oklch(37.1% 0.170 287.6);
Tailwind
colors: {
custom: {
50: '#7f61b3',
500: '#412292',
950: '#000000',
},
}SCSS
$custom: #412292; $custom-light: #7f61b3; $custom-dark: #000000;
JSON
{
"hex": "#412292",
"rgb": {
"r": 65,
"g": 34,
"b": 146
},
"hsl": {
"h": 256.607,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.37063,
"c": 0.16993,
"h": 287.6
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#412292
secondary
#9FBC54
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980