#412299#412299
#412299 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.178 H 286.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #412299 |
|---|---|
| RGB | rgb(65, 34, 153) |
| HSL | hsl(256, 64%, 37%) |
| HSV | hsv(256, 78%, 60%) |
| CMYK | cmyk(57.5%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(25.46, 44.87, -59.46) |
| CIE-LCH | lch(25.46, 74.49, 307.04°) |
| OKLab | oklab(37.76% 0.0495 -0.1712) |
| OKLCH | oklch(37.76% 0.178 286.1) |
| XYZ | xyz(8.5000, 4.5673, 30.5645) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.66
Royal
#0C1793
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 5.84
Indigo (survey)
#380282
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412299 #7A9922
analogous
#223F99 #412299 #7D2299
triadic
#412299 #994122 #229941
tetradic
#412299 #99223F #7A9922 #22997D
square
#412299 #99223F #7A9922 #22997D
split-complementary
#412299 #997D22 #3F9922
monochromatic
#160C35 #2C1767 #412299 #562DCB #7C5BDB
Accessibility & contrast
On white
10.97
#412299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#412299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412299
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412299 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#16445C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412299; /* rgb */ color: rgb(65, 34, 153); /* oklch */ color: oklch(37.8% 0.178 286.1);
Tailwind
colors: {
custom: {
50: '#8061b8',
500: '#412299',
950: '#000000',
},
}SCSS
$custom: #412299; $custom-light: #8061b8; $custom-dark: #000000;
JSON
{
"hex": "#412299",
"rgb": {
"r": 65,
"g": 34,
"b": 153
},
"hsl": {
"h": 255.63,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.37757,
"c": 0.17824,
"h": 286.1
},
"luminance": 0.04568
}Semantic roles & 50–950 ramp
primary
#412299
secondary
#A4BF58
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980