#412392#412392
#412392 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.169 H 287.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #412392 |
|---|---|
| RGB | rgb(65, 35, 146) |
| HSL | hsl(256, 61%, 35%) |
| HSV | hsv(256, 76%, 57%) |
| CMYK | cmyk(55.5%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(24.95, 42.30, -55.99) |
| CIE-LCH | lch(24.95, 70.17, 307.07°) |
| OKLab | oklab(37.19% 0.0507 -0.1611) |
| OKLCH | oklch(37.19% 0.169 287.5) |
| XYZ | xyz(7.9678, 4.4008, 27.6182) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.71
Royal
#0C1793
ΔE00 5.57
Indigo (survey)
#380282
ΔE00 5.65
Indigo
#4B0082
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.55
Ultramarine
#2000B1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412392 #749223
analogous
#233D92 #412392 #782392
triadic
#412392 #924123 #239241
tetradic
#412392 #92233D #749223 #239278
square
#412392 #92233D #749223 #239278
split-complementary
#412392 #927823 #3D9223
monochromatic
#150B2F #2B1761 #412392 #572FC3 #7B58D7
Accessibility & contrast
On white
11.17
#412392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#412392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412392
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412392 | 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)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#1F4259
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412392; /* rgb */ color: rgb(65, 35, 146); /* oklch */ color: oklch(37.2% 0.169 287.5);
Tailwind
colors: {
custom: {
50: '#7f61b3',
500: '#412392',
950: '#000000',
},
}SCSS
$custom: #412392; $custom-light: #7f61b3; $custom-dark: #000000;
JSON
{
"hex": "#412392",
"rgb": {
"r": 65,
"g": 35,
"b": 146
},
"hsl": {
"h": 256.216,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.3719,
"c": 0.16885,
"h": 287.5
},
"luminance": 0.04401
}Semantic roles & 50–950 ramp
primary
#412392
secondary
#A0BB55
accent
#E443B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980