#46288E#46288E
#46288E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.158 H 290.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #46288E |
|---|---|
| RGB | rgb(70, 40, 142) |
| HSL | hsl(258, 56%, 36%) |
| HSV | hsv(258, 72%, 56%) |
| CMYK | cmyk(50.7%, 71.8%, 0%, 44.3%) |
| CIE-LAB | lab(26.08, 39.26, -51.66) |
| CIE-LCH | lch(26.08, 64.89, 307.24°) |
| OKLab | oklab(38% 0.0548 -0.1482) |
| OKLCH | oklch(38% 0.158 290.3) |
| XYZ | xyz(8.1657, 4.7723, 26.0768) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.09
Rebeccapurple
#663399
ΔE00 6.29
Indigo
#4B0082
ΔE00 6.41
Indigo (survey)
#380282
ΔE00 6.64
Royal
#0C1793
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46288E #708E28
analogous
#283D8E #46288E #79288E
triadic
#46288E #8E4628 #288E46
tetradic
#46288E #8E283D #708E28 #288E79
square
#46288E #8E283D #708E28 #288E79
split-complementary
#46288E #8E7928 #3D8E28
monochromatic
#170D2F #2E1B5E #46288E #5E35BE #805FD2
Accessibility & contrast
On white
10.74
#46288E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#46288E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46288E
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46288E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46288E | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#2E4258
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46288e; /* rgb */ color: rgb(70, 40, 142); /* oklch */ color: oklch(38.0% 0.158 290.3);
Tailwind
colors: {
custom: {
50: '#8165b0',
500: '#46288e',
950: '#000000',
},
}SCSS
$custom: #46288e; $custom-light: #8165b0; $custom-dark: #000000;
JSON
{
"hex": "#46288e",
"rgb": {
"r": 70,
"g": 40,
"b": 142
},
"hsl": {
"h": 257.647,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.37998,
"c": 0.15803,
"h": 290.3
},
"luminance": 0.04773
}Semantic roles & 50–950 ramp
primary
#46288E
secondary
#9CB75B
accent
#DF48B3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80