#412A9C#412A9C
#412A9C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.173 H 284.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #412A9C |
|---|---|
| RGB | rgb(65, 42, 156) |
| HSL | hsl(252, 58%, 39%) |
| HSV | hsv(252, 73%, 61%) |
| CMYK | cmyk(58.3%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(27.24, 41.57, -58.38) |
| CIE-LCH | lch(27.24, 71.67, 305.46°) |
| OKLab | oklab(39.1% 0.0427 -0.1681) |
| OKLCH | oklch(39.1% 0.173 284.2) |
| XYZ | xyz(9.0069, 5.1795, 31.9712) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 6.11
Royal
#0C1793
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.41
Blueberry
#464196
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412A9C #859C2A
analogous
#2A4C9C #412A9C #7A2A9C
triadic
#412A9C #9C412A #2A9C41
tetradic
#412A9C #9C2A4C #859C2A #2A9C7A
square
#412A9C #9C2A4C #859C2A #2A9C7A
split-complementary
#412A9C #9C7A2A #4C9C2A
monochromatic
#19103C #2D1D6C #412A9C #5739CA #806AD7
Accessibility & contrast
On white
10.31
#412A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#412A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412A9C
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412A9C | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#104960
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #412a9c; /* rgb */ color: rgb(65, 42, 156); /* oklch */ color: oklch(39.1% 0.173 284.2);
Tailwind
colors: {
custom: {
50: '#8066ba',
500: '#412a9c',
950: '#000000',
},
}SCSS
$custom: #412a9c; $custom-light: #8066ba; $custom-dark: #000000;
JSON
{
"hex": "#412a9c",
"rgb": {
"r": 65,
"g": 42,
"b": 156
},
"hsl": {
"h": 252.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.39097,
"c": 0.17343,
"h": 284.2
},
"luminance": 0.0518
}Semantic roles & 50–950 ramp
primary
#412A9C
secondary
#ABBD65
accent
#E147C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81