#412692#412692
#412692 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.166 H 286.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #412692 |
|---|---|
| RGB | rgb(65, 38, 146) |
| HSL | hsl(255, 59%, 36%) |
| HSV | hsv(255, 74%, 57%) |
| CMYK | cmyk(55.5%, 74%, 0%, 42.7%) |
| CIE-LAB | lab(25.52, 40.71, -55.07) |
| CIE-LCH | lch(25.52, 68.48, 306.48°) |
| OKLab | oklab(37.59% 0.0482 -0.1584) |
| OKLCH | oklch(37.59% 0.166 286.9) |
| XYZ | xyz(8.0598, 4.5849, 27.6488) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.99
Royal
#0C1793
ΔE00 5.84
Indigo (survey)
#380282
ΔE00 6.26
Indigo
#4B0082
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.69
Cobalt Blue
#030AA7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412692 #779226
analogous
#264192 #412692 #772692
triadic
#412692 #924126 #269241
tetradic
#412692 #922641 #779226 #269277
square
#412692 #922641 #779226 #269277
split-complementary
#412692 #927726 #419226
monochromatic
#160D31 #2B1961 #412692 #5733C3 #7B5DD5
Accessibility & contrast
On white
10.95
#412692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#412692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412692
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412692 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#1F4359
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412692; /* rgb */ color: rgb(65, 38, 146); /* oklch */ color: oklch(37.6% 0.166 286.9);
Tailwind
colors: {
custom: {
50: '#7f63b3',
500: '#412692',
950: '#000000',
},
}SCSS
$custom: #412692; $custom-light: #7f63b3; $custom-dark: #000000;
JSON
{
"hex": "#412692",
"rgb": {
"r": 65,
"g": 38,
"b": 146
},
"hsl": {
"h": 255,
"s": 58.696,
"l": 36.078
},
"oklch": {
"l": 0.37588,
"c": 0.16556,
"h": 286.9
},
"luminance": 0.04585
}Semantic roles & 50–950 ramp
primary
#412692
secondary
#A2BA5A
accent
#E246BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80