#46258E#46258E
#46258E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.162 H 290.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #46258E |
|---|---|
| RGB | rgb(70, 37, 142) |
| HSL | hsl(259, 59%, 35%) |
| HSV | hsv(259, 74%, 56%) |
| CMYK | cmyk(50.7%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.50, 40.88, -52.60) |
| CIE-LCH | lch(25.50, 66.62, 307.85°) |
| OKLab | oklab(37.59% 0.0577 -0.151) |
| OKLCH | oklch(37.59% 0.162 290.9) |
| XYZ | xyz(8.0685, 4.5779, 26.0444) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.68
Indigo
#4B0082
ΔE00 5.75
Indigo (survey)
#380282
ΔE00 6.00
Rebeccapurple
#663399
ΔE00 6.51
Royal
#0C1793
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46258E #6D8E25
analogous
#25398E #46258E #7A258E
triadic
#46258E #8E4625 #258E46
tetradic
#46258E #8E2539 #6D8E25 #258E7A
square
#46258E #8E2539 #6D8E25 #258E7A
split-complementary
#46258E #8E7A25 #398E25
monochromatic
#160C2D #2E185D #46258E #5E32BF #805AD4
Accessibility & contrast
On white
10.96
#46258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#46258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46258E
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46258E | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#2E4157
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #46258e; /* rgb */ color: rgb(70, 37, 142); /* oklch */ color: oklch(37.6% 0.162 290.9);
Tailwind
colors: {
custom: {
50: '#8163b0',
500: '#46258e',
950: '#000000',
},
}SCSS
$custom: #46258e; $custom-light: #8163b0; $custom-dark: #000000;
JSON
{
"hex": "#46258e",
"rgb": {
"r": 70,
"g": 37,
"b": 142
},
"hsl": {
"h": 258.857,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.37587,
"c": 0.16162,
"h": 290.9
},
"luminance": 0.04578
}Semantic roles & 50–950 ramp
primary
#46258E
secondary
#9AB956
accent
#E246B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80