#46238E#46238E
#46238E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.164 H 291.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #46238E |
|---|---|
| RGB | rgb(70, 35, 142) |
| HSL | hsl(260, 60%, 35%) |
| HSV | hsv(260, 75%, 56%) |
| CMYK | cmyk(50.7%, 75.4%, 0%, 44.3%) |
| CIE-LAB | lab(25.13, 41.92, -53.21) |
| CIE-LCH | lch(25.13, 67.74, 308.23°) |
| OKLab | oklab(37.33% 0.0595 -0.1527) |
| OKLCH | oklch(37.33% 0.164 291.3) |
| XYZ | xyz(8.0079, 4.4568, 26.0243) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.35
Indigo Blue
#3A18B1
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 5.60
Royal
#0C1793
ΔE00 6.47
Rebeccapurple
#663399
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46238E #6B8E23
analogous
#23368E #46238E #7C238E
triadic
#46238E #8E4623 #238E46
tetradic
#46238E #8E2336 #6B8E23 #238E7C
square
#46238E #8E2336 #6B8E23 #238E7C
split-complementary
#46238E #8E7C23 #368E23
monochromatic
#160B2C #2E175D #46238E #5E2FBF #8056D5
Accessibility & contrast
On white
11.10
#46238E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#46238E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46238E
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46238E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46238E | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#2E4056
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #46238e; /* rgb */ color: rgb(70, 35, 142); /* oklch */ color: oklch(37.3% 0.164 291.3);
Tailwind
colors: {
custom: {
50: '#8162b0',
500: '#46238e',
950: '#000000',
},
}SCSS
$custom: #46238e; $custom-light: #8162b0; $custom-dark: #000000;
JSON
{
"hex": "#46238e",
"rgb": {
"r": 70,
"g": 35,
"b": 142
},
"hsl": {
"h": 259.626,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.37326,
"c": 0.16391,
"h": 291.3
},
"luminance": 0.04457
}Semantic roles & 50–950 ramp
primary
#46238E
secondary
#98B953
accent
#E444AF
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980