#46228E#46228E
#46228E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.165 H 291.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #46228E |
|---|---|
| RGB | rgb(70, 34, 142) |
| HSL | hsl(260, 61%, 35%) |
| HSV | hsv(260, 76%, 56%) |
| CMYK | cmyk(50.7%, 76.1%, 0%, 44.3%) |
| CIE-LAB | lab(24.95, 42.43, -53.50) |
| CIE-LCH | lch(24.95, 68.28, 308.42°) |
| OKLab | oklab(37.2% 0.0604 -0.1536) |
| OKLCH | oklch(37.2% 0.165 291.5) |
| XYZ | xyz(7.9789, 4.3988, 26.0146) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.46
Royal
#0C1793
ΔE00 6.40
Rebeccapurple
#663399
ΔE00 6.78
Ultramarine
#2000B1
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46228E #6A8E22
analogous
#22348E #46228E #7C228E
triadic
#46228E #8E4622 #228E46
tetradic
#46228E #8E2234 #6A8E22 #228E7C
square
#46228E #8E2234 #6A8E22 #228E7C
split-complementary
#46228E #8E7C22 #348E22
monochromatic
#150A2B #2E165D #46228E #5E2EBF #8054D6
Accessibility & contrast
On white
11.17
#46228E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#46228E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46228E
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46228E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46228E | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#2E3F56
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #46228e; /* rgb */ color: rgb(70, 34, 142); /* oklch */ color: oklch(37.2% 0.165 291.5);
Tailwind
colors: {
custom: {
50: '#8161b0',
500: '#46228e',
950: '#000000',
},
}SCSS
$custom: #46228e; $custom-light: #8161b0; $custom-dark: #000000;
JSON
{
"hex": "#46228e",
"rgb": {
"r": 70,
"g": 34,
"b": 142
},
"hsl": {
"h": 260,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.372,
"c": 0.16502,
"h": 291.5
},
"luminance": 0.04399
}Semantic roles & 50–950 ramp
primary
#46228E
secondary
#97BA52
accent
#E443AF
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980