#412BAC#412BAC
#412BAC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.192 H 281.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #412BAC |
|---|---|
| RGB | rgb(65, 43, 172) |
| HSL | hsl(250, 60%, 42%) |
| HSV | hsv(250, 75%, 67%) |
| CMYK | cmyk(62.2%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(28.98, 45.95, -65.21) |
| CIE-LCH | lch(28.98, 79.77, 305.17°) |
| OKLab | oklab(40.79% 0.0382 -0.1881) |
| OKLCH | oklch(40.79% 0.192 281.5) |
| XYZ | xyz(10.4879, 5.8294, 39.5942) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 5.46
Violet Blue
#510AC9
ΔE00 5.54
Blue With A Hint Of Purple
#533CC6
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.02
True Blue
#010FCC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412BAC #96AC2B
analogous
#2B55AC #412BAC #822BAC
triadic
#412BAC #AC412B #2BAC41
tetradic
#412BAC #AC2B55 #96AC2B #2BAC82
square
#412BAC #AC2B55 #96AC2B #2BAC82
split-complementary
#412BAC #AC822B #55AC2B
monochromatic
#1C134A #2E1F7B #412BAC #5C44D0 #8775DC
Accessibility & contrast
On white
9.70
#412BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#412BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412BAC
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412BAC | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #412bac; /* rgb */ color: rgb(65, 43, 172); /* oklch */ color: oklch(40.8% 0.192 281.5);
Tailwind
colors: {
custom: {
50: '#8367c6',
500: '#412bac',
950: '#000000',
},
}SCSS
$custom: #412bac; $custom-light: #8367c6; $custom-dark: #000000;
JSON
{
"hex": "#412bac",
"rgb": {
"r": 65,
"g": 43,
"b": 172
},
"hsl": {
"h": 250.233,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.40795,
"c": 0.19192,
"h": 281.5
},
"luminance": 0.0583
}Semantic roles & 50–950 ramp
primary
#412BAC
secondary
#B6C46F
accent
#E345C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82