#46147C#46147C
#46147C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.159 H 299.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #46147C |
|---|---|
| RGB | rgb(70, 20, 124) |
| HSL | hsl(269, 72%, 28%) |
| HSV | hsv(269, 84%, 49%) |
| CMYK | cmyk(43.5%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(21.05, 43.87, -48.58) |
| CIE-LCH | lch(21.05, 65.46, 312.08°) |
| OKLab | oklab(33.95% 0.0774 -0.139) |
| OKLCH | oklch(33.95% 0.159 299.1) |
| XYZ | xyz(6.4131, 3.2575, 19.3558) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.43
Indigo (survey)
#380282
ΔE00 3.56
Royal Purple (survey)
#4B006E
ΔE00 3.72
Midnight Blue
#191970
ΔE00 7.30
Royal
#0C1793
ΔE00 7.68
Darkblue
#00008B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46147C #4A7C14
analogous
#14167C #46147C #7A147C
triadic
#46147C #7C4614 #147C46
tetradic
#46147C #7C1416 #4A7C14 #147C7A
square
#46147C #7C1416 #4A7C14 #147C7A
split-complementary
#46147C #7C7A14 #167C14
monochromatic
#0F041A #280B47 #46147C #641DB1 #822DDD
Accessibility & contrast
On white
12.71
#46147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#46147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46147C
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46147C | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #46147c; /* rgb */ color: rgb(70, 20, 124); /* oklch */ color: oklch(34.0% 0.159 299.1);
Tailwind
colors: {
custom: {
50: '#8059a3',
500: '#46147c',
950: '#000000',
},
}SCSS
$custom: #46147c; $custom-light: #8059a3; $custom-dark: #000000;
JSON
{
"hex": "#46147c",
"rgb": {
"r": 70,
"g": 20,
"b": 124
},
"hsl": {
"h": 268.846,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.33953,
"c": 0.15912,
"h": 299.1
},
"luminance": 0.03258
}Semantic roles & 50–950 ramp
primary
#46147C
secondary
#78B23A
accent
#EF3997
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F