#46238C#46238C
#46238C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.162 H 291.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #46238C |
|---|---|
| RGB | rgb(70, 35, 140) |
| HSL | hsl(260, 60%, 34%) |
| HSV | hsv(260, 75%, 55%) |
| CMYK | cmyk(50%, 75%, 0%, 45.1%) |
| CIE-LAB | lab(24.94, 41.35, -52.27) |
| CIE-LCH | lch(24.94, 66.64, 308.35°) |
| OKLab | oklab(37.14% 0.06 -0.15) |
| OKLCH | oklch(37.14% 0.162 291.8) |
| XYZ | xyz(7.8591, 4.3973, 25.2405) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.83
Royal
#0C1793
ΔE00 6.58
Rebeccapurple
#663399
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46238C #698C23
analogous
#23358C #46238C #7B238C
triadic
#46238C #8C4623 #238C46
tetradic
#46238C #8C2335 #698C23 #238C7B
square
#46238C #8C2335 #698C23 #238C7B
split-complementary
#46238C #8C7B23 #358C23
monochromatic
#150B2A #2E175B #46238C #5E2FBD #7F55D4
Accessibility & contrast
On white
11.17
#46238C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#46238C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46238C
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46238C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46238C | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#2F3F55
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #46238c; /* rgb */ color: rgb(70, 35, 140); /* oklch */ color: oklch(37.1% 0.162 291.8);
Tailwind
colors: {
custom: {
50: '#8161af',
500: '#46238c',
950: '#000000',
},
}SCSS
$custom: #46238c; $custom-light: #8161af; $custom-dark: #000000;
JSON
{
"hex": "#46238c",
"rgb": {
"r": 70,
"g": 35,
"b": 140
},
"hsl": {
"h": 260,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.3714,
"c": 0.16153,
"h": 291.8
},
"luminance": 0.04398
}Semantic roles & 50–950 ramp
primary
#46238C
secondary
#96B852
accent
#E345AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F