#46147E#46147E
#46147E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.161 H 298.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #46147E |
|---|---|
| RGB | rgb(70, 20, 126) |
| HSL | hsl(268, 73%, 29%) |
| HSV | hsv(268, 84%, 49%) |
| CMYK | cmyk(44.4%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(21.24, 44.38, -49.54) |
| CIE-LCH | lch(21.24, 66.51, 311.86°) |
| OKLab | oklab(34.14% 0.0767 -0.1418) |
| OKLCH | oklch(34.14% 0.161 298.4) |
| XYZ | xyz(6.5409, 3.3087, 20.0286) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.33
Indigo (survey)
#380282
ΔE00 3.40
Royal Purple (survey)
#4B006E
ΔE00 3.97
Midnight Blue
#191970
ΔE00 7.29
Royal
#0C1793
ΔE00 7.45
Darkblue
#00008B
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46147E #4C7E14
analogous
#14177E #46147E #7B147E
triadic
#46147E #7E4614 #147E46
tetradic
#46147E #7E1417 #4C7E14 #147E7B
square
#46147E #7E1417 #4C7E14 #147E7B
split-complementary
#46147E #7E7B14 #177E14
monochromatic
#0F041A #290C49 #46147E #631CB3 #812EDE
Accessibility & contrast
On white
12.64
#46147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#46147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46147E
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46147E | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#38334A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #46147e; /* rgb */ color: rgb(70, 20, 126); /* oklch */ color: oklch(34.1% 0.161 298.4);
Tailwind
colors: {
custom: {
50: '#8059a4',
500: '#46147e',
950: '#000000',
},
}SCSS
$custom: #46147e; $custom-light: #8059a4; $custom-dark: #000000;
JSON
{
"hex": "#46147e",
"rgb": {
"r": 70,
"g": 20,
"b": 126
},
"hsl": {
"h": 268.302,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.34145,
"c": 0.16125,
"h": 298.4
},
"luminance": 0.03309
}Semantic roles & 50–950 ramp
primary
#46147E
secondary
#7AB33A
accent
#EF3899
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F