#46117C#46117C
#46117C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.162 H 299.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #46117C |
|---|---|
| RGB | rgb(70, 17, 124) |
| HSL | hsl(270, 76%, 28%) |
| HSV | hsv(270, 86%, 49%) |
| CMYK | cmyk(43.5%, 86.3%, 0%, 51.4%) |
| CIE-LAB | lab(20.67, 44.98, -49.21) |
| CIE-LCH | lch(20.67, 66.67, 312.43°) |
| OKLab | oklab(33.69% 0.0795 -0.1408) |
| OKLCH | oklch(33.69% 0.162 299.5) |
| XYZ | xyz(6.3634, 3.1581, 19.3392) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.04
Indigo (survey)
#380282
ΔE00 3.28
Royal Purple (survey)
#4B006E
ΔE00 3.46
Midnight Blue
#191970
ΔE00 7.43
Royal
#0C1793
ΔE00 7.72
Darkblue
#00008B
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46117C #477C11
analogous
#11117C #46117C #7C117C
triadic
#46117C #7C4611 #117C46
tetradic
#46117C #7C1111 #477C11 #117C7C
square
#46117C #7C1111 #477C11 #117C7C
split-complementary
#46117C #7C7C11 #117C11
monochromatic
#0F041B #280A46 #46117C #6418B2 #8326E1
Accessibility & contrast
On white
12.87
#46117C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#46117C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46117C
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46117C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46117C | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#393148
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #46117c; /* rgb */ color: rgb(70, 17, 124); /* oklch */ color: oklch(33.7% 0.162 299.5);
Tailwind
colors: {
custom: {
50: '#8058a3',
500: '#46117c',
950: '#000000',
},
}SCSS
$custom: #46117c; $custom-light: #8058a3; $custom-dark: #000000;
JSON
{
"hex": "#46117c",
"rgb": {
"r": 70,
"g": 17,
"b": 124
},
"hsl": {
"h": 269.72,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.33689,
"c": 0.16176,
"h": 299.5
},
"luminance": 0.03158
}Semantic roles & 50–950 ramp
primary
#46117C
secondary
#75B237
accent
#F23595
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F