#46156C#46156C
#46156C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.141 H 305.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #46156C |
|---|---|
| RGB | rgb(70, 21, 108) |
| HSL | hsl(274, 67%, 25%) |
| HSV | hsv(274, 81%, 42%) |
| CMYK | cmyk(35.2%, 80.6%, 0%, 57.6%) |
| CIE-LAB | lab(19.73, 39.41, -40.44) |
| CIE-LCH | lch(19.73, 56.46, 314.26°) |
| OKLab | oklab(32.58% 0.0813 -0.1151) |
| OKLCH | oklch(32.58% 0.141 305.2) |
| XYZ | xyz(5.5001, 2.9212, 14.4585) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.82
Indigo
#4B0082
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 5.81
Plum Purple
#4E0550
ΔE00 7.29
Dark Indigo
#1F0954
ΔE00 7.42
Midnight Blue
#191970
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46156C #3B6C15
analogous
#1A156C #46156C #6C1566
triadic
#46156C #6C4615 #156C46
tetradic
#46156C #6C1A15 #3B6C15 #15666C
square
#46156C #6C1A15 #3B6C15 #15666C
split-complementary
#46156C #666C15 #156C1A
monochromatic
#11051A #250B39 #46156C #671F9F #8829D2
Accessibility & contrast
On white
13.26
#46156C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#46156C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46156C
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46156C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46156C | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#3F2B40
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #46156c; /* rgb */ color: rgb(70, 21, 108); /* oklch */ color: oklch(32.6% 0.141 305.2);
Tailwind
colors: {
custom: {
50: '#7e5897',
500: '#46156c',
950: '#000000',
},
}SCSS
$custom: #46156c; $custom-light: #7e5897; $custom-dark: #000000;
JSON
{
"hex": "#46156c",
"rgb": {
"r": 70,
"g": 21,
"b": 108
},
"hsl": {
"h": 273.793,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.32579,
"c": 0.14098,
"h": 305.2
},
"luminance": 0.02921
}Semantic roles & 50–950 ramp
primary
#46156C
secondary
#68A33A
accent
#EA3D89
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E