#412092#412092
#412092 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.172 H 288.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #412092 |
|---|---|
| RGB | rgb(65, 32, 146) |
| HSL | hsl(257, 64%, 35%) |
| HSV | hsv(257, 78%, 57%) |
| CMYK | cmyk(55.5%, 78.1%, 0%, 42.7%) |
| CIE-LAB | lab(24.42, 43.81, -56.86) |
| CIE-LCH | lch(24.42, 71.78, 307.61°) |
| OKLab | oklab(36.82% 0.0531 -0.1636) |
| OKLCH | oklch(36.82% 0.172 288) |
| XYZ | xyz(7.8833, 4.2318, 27.5900) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 5.09
Royal
#0C1793
ΔE00 5.37
Indigo
#4B0082
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412092 #719220
analogous
#203892 #412092 #7A2092
triadic
#412092 #924120 #209241
tetradic
#412092 #922038 #719220 #20927A
square
#412092 #922038 #719220 #20927A
split-complementary
#412092 #927A20 #389220
monochromatic
#140A2E #2B1560 #412092 #572BC4 #7A53D9
Accessibility & contrast
On white
11.37
#412092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#412092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412092
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412092 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#1F4058
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412092; /* rgb */ color: rgb(65, 32, 146); /* oklch */ color: oklch(36.8% 0.172 288.0);
Tailwind
colors: {
custom: {
50: '#7f60b3',
500: '#412092',
950: '#000000',
},
}SCSS
$custom: #412092; $custom-light: #7f60b3; $custom-dark: #000000;
JSON
{
"hex": "#412092",
"rgb": {
"r": 65,
"g": 32,
"b": 146
},
"hsl": {
"h": 257.368,
"s": 64.045,
"l": 34.902
},
"oklch": {
"l": 0.36818,
"c": 0.17198,
"h": 288
},
"luminance": 0.04232
}Semantic roles & 50–950 ramp
primary
#412092
secondary
#9EBD51
accent
#E741B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980