#46218E#46218E
#46218E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 291.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #46218E |
|---|---|
| RGB | rgb(70, 33, 142) |
| HSL | hsl(260, 62%, 34%) |
| HSV | hsv(260, 77%, 56%) |
| CMYK | cmyk(50.7%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(24.77, 42.93, -53.79) |
| CIE-LCH | lch(24.77, 68.82, 308.59°) |
| OKLab | oklab(37.08% 0.0612 -0.1544) |
| OKLCH | oklch(37.08% 0.166 291.6) |
| XYZ | xyz(7.9507, 4.3425, 26.0052) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.40
Royal
#0C1793
ΔE00 6.35
Rebeccapurple
#663399
ΔE00 6.88
Ultramarine
#2000B1
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46218E #698E21
analogous
#21338E #46218E #7D218E
triadic
#46218E #8E4621 #218E46
tetradic
#46218E #8E2133 #698E21 #218E7D
square
#46218E #8E2133 #698E21 #218E7D
split-complementary
#46218E #8E7D21 #338E21
monochromatic
#150A2B #2E155C #46218E #5E2DC0 #7F52D7
Accessibility & contrast
On white
11.24
#46218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#46218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46218E
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46218E | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#2E3F56
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #46218e; /* rgb */ color: rgb(70, 33, 142); /* oklch */ color: oklch(37.1% 0.166 291.6);
Tailwind
colors: {
custom: {
50: '#8160b0',
500: '#46218e',
950: '#000000',
},
}SCSS
$custom: #46218e; $custom-light: #8160b0; $custom-dark: #000000;
JSON
{
"hex": "#46218e",
"rgb": {
"r": 70,
"g": 33,
"b": 142
},
"hsl": {
"h": 260.367,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.37076,
"c": 0.16612,
"h": 291.6
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#46218E
secondary
#96BA50
accent
#E542AE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980