#46238F#46238F
#46238F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.165 H 291.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #46238F |
|---|---|
| RGB | rgb(70, 35, 143) |
| HSL | hsl(259, 61%, 35%) |
| HSV | hsv(259, 76%, 56%) |
| CMYK | cmyk(51%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.22, 42.21, -53.68) |
| CIE-LCH | lch(25.22, 68.28, 308.18°) |
| OKLab | oklab(37.42% 0.0592 -0.1541) |
| OKLCH | oklch(37.42% 0.165 291) |
| XYZ | xyz(8.0833, 4.4870, 26.4214) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.37
Indigo
#4B0082
ΔE00 5.40
Indigo (survey)
#380282
ΔE00 5.64
Royal
#0C1793
ΔE00 6.42
Rebeccapurple
#663399
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46238F #6C8F23
analogous
#23368F #46238F #7C238F
triadic
#46238F #8F4623 #238F46
tetradic
#46238F #8F2336 #6C8F23 #238F7C
square
#46238F #8F2336 #6C8F23 #238F7C
split-complementary
#46238F #8F7C23 #368F23
monochromatic
#160B2D #2E175E #46238F #5E2FC0 #8057D6
Accessibility & contrast
On white
11.07
#46238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#46238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46238F
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46238F | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2D4057
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #46238f; /* rgb */ color: rgb(70, 35, 143); /* oklch */ color: oklch(37.4% 0.165 291.0);
Tailwind
colors: {
custom: {
50: '#8162b1',
500: '#46238f',
950: '#000000',
},
}SCSS
$custom: #46238f; $custom-light: #8162b1; $custom-dark: #000000;
JSON
{
"hex": "#46238f",
"rgb": {
"r": 70,
"g": 35,
"b": 143
},
"hsl": {
"h": 259.444,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.3742,
"c": 0.1651,
"h": 291
},
"luminance": 0.04487
}Semantic roles & 50–950 ramp
primary
#46238F
secondary
#99BA54
accent
#E444B0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980