#46227E#46227E
#46227E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.146 H 296.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #46227E |
|---|---|
| RGB | rgb(70, 34, 126) |
| HSL | hsl(263, 58%, 31%) |
| HSV | hsv(263, 73%, 49%) |
| CMYK | cmyk(44.4%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(23.51, 37.89, -45.82) |
| CIE-LCH | lch(23.51, 59.45, 309.59°) |
| OKLab | oklab(35.74% 0.0641 -0.131) |
| OKLCH | oklch(35.74% 0.146 296.1) |
| XYZ | xyz(6.8627, 3.9524, 20.1359) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.61
Royal Purple (survey)
#4B006E
ΔE00 5.97
Midnight Blue
#191970
ΔE00 7.07
Rebeccapurple
#663399
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46227E #5A7E22
analogous
#222C7E #46227E #74227E
triadic
#46227E #7E4622 #227E46
tetradic
#46227E #7E222C #5A7E22 #227E74
square
#46227E #7E222C #5A7E22 #227E74
split-complementary
#46227E #7E7422 #2C7E22
monochromatic
#10081E #2B154E #46227E #612FAE #7F4CCF
Accessibility & contrast
On white
11.73
#46227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#46227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46227E
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46227E | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#37394D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #46227e; /* rgb */ color: rgb(70, 34, 126); /* oklch */ color: oklch(35.7% 0.146 296.1);
Tailwind
colors: {
custom: {
50: '#7f60a4',
500: '#46227e',
950: '#000000',
},
}SCSS
$custom: #46227e; $custom-light: #7f60a4; $custom-dark: #000000;
JSON
{
"hex": "#46227e",
"rgb": {
"r": 70,
"g": 34,
"b": 126
},
"hsl": {
"h": 263.478,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.35741,
"c": 0.14586,
"h": 296.1
},
"luminance": 0.03953
}Semantic roles & 50–950 ramp
primary
#46227E
secondary
#89B14B
accent
#E147A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F