#46126E#46126E
#46126E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 304.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #46126E |
|---|---|
| RGB | rgb(70, 18, 110) |
| HSL | hsl(274, 72%, 25%) |
| HSV | hsv(274, 84%, 43%) |
| CMYK | cmyk(36.4%, 83.6%, 0%, 56.9%) |
| CIE-LAB | lab(19.48, 41.13, -42.15) |
| CIE-LCH | lch(19.48, 58.89, 314.30°) |
| OKLab | oklab(32.46% 0.0835 -0.1201) |
| OKLCH | oklch(32.46% 0.146 304.8) |
| XYZ | xyz(5.5559, 2.8605, 15.0083) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.32
Indigo
#4B0082
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 5.22
Dark Indigo
#1F0954
ΔE00 7.43
Plum Purple
#4E0550
ΔE00 7.57
Midnight Blue
#191970
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46126E #3A6E12
analogous
#18126E #46126E #6E1268
triadic
#46126E #6E4612 #126E46
tetradic
#46126E #6E1812 #3A6E12 #12686E
square
#46126E #6E1812 #3A6E12 #12686E
split-complementary
#46126E #686E12 #126E18
monochromatic
#11041A #250939 #46126E #671BA3 #8923D7
Accessibility & contrast
On white
13.36
#46126E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#46126E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46126E
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46126E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46126E | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#3E2B40
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #46126e; /* rgb */ color: rgb(70, 18, 110); /* oklch */ color: oklch(32.5% 0.146 304.8);
Tailwind
colors: {
custom: {
50: '#7e5798',
500: '#46126e',
950: '#000000',
},
}SCSS
$custom: #46126e; $custom-light: #7e5798; $custom-dark: #000000;
JSON
{
"hex": "#46126e",
"rgb": {
"r": 70,
"g": 18,
"b": 110
},
"hsl": {
"h": 273.913,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.3246,
"c": 0.14629,
"h": 304.8
},
"luminance": 0.0286
}Semantic roles & 50–950 ramp
primary
#46126E
secondary
#67A537
accent
#EF3988
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E