#46288F#46288F
#46288F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.159 H 290.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #46288F |
|---|---|
| RGB | rgb(70, 40, 143) |
| HSL | hsl(257, 56%, 36%) |
| HSV | hsv(257, 72%, 56%) |
| CMYK | cmyk(51%, 72%, 0%, 43.9%) |
| CIE-LAB | lab(26.16, 39.56, -52.13) |
| CIE-LCH | lch(26.16, 65.44, 307.19°) |
| OKLab | oklab(38.09% 0.0546 -0.1496) |
| OKLCH | oklch(38.09% 0.159 290.1) |
| XYZ | xyz(8.2411, 4.8025, 26.4740) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.12
Rebeccapurple
#663399
ΔE00 6.28
Indigo
#4B0082
ΔE00 6.45
Indigo (survey)
#380282
ΔE00 6.66
Royal
#0C1793
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46288F #718F28
analogous
#283D8F #46288F #79288F
triadic
#46288F #8F4628 #288F46
tetradic
#46288F #8F283D #718F28 #288F79
square
#46288F #8F283D #718F28 #288F79
split-complementary
#46288F #8F7928 #3D8F28
monochromatic
#170D2F #2F1B5F #46288F #5D35BF #815FD2
Accessibility & contrast
On white
10.71
#46288F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#46288F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46288F
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46288F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46288F | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#2D4358
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46288f; /* rgb */ color: rgb(70, 40, 143); /* oklch */ color: oklch(38.1% 0.159 290.1);
Tailwind
colors: {
custom: {
50: '#8165b1',
500: '#46288f',
950: '#000000',
},
}SCSS
$custom: #46288f; $custom-light: #8165b1; $custom-dark: #000000;
JSON
{
"hex": "#46288f",
"rgb": {
"r": 70,
"g": 40,
"b": 143
},
"hsl": {
"h": 257.476,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.38089,
"c": 0.15928,
"h": 290.1
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#46288F
secondary
#9DB85B
accent
#E048B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80