#46229E#46229E
#46229E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.184 H 287.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #46229E |
|---|---|
| RGB | rgb(70, 34, 158) |
| HSL | hsl(257, 65%, 38%) |
| HSV | hsv(257, 78%, 62%) |
| CMYK | cmyk(55.7%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(26.49, 46.99, -60.82) |
| CIE-LCH | lch(26.49, 76.85, 307.69°) |
| OKLab | oklab(38.75% 0.0559 -0.175) |
| OKLCH | oklch(38.75% 0.184 287.7) |
| XYZ | xyz(9.2675, 4.9143, 32.8013) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.28
Ultramarine
#2000B1
ΔE00 5.88
Violet Blue
#510AC9
ΔE00 6.01
Royal
#0C1793
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.33
Indigo
#4B0082
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46229E #7A9E22
analogous
#223C9E #46229E #84229E
triadic
#46229E #9E4622 #229E46
tetradic
#46229E #9E223C #7A9E22 #229E84
square
#46229E #9E223C #7A9E22 #229E84
split-complementary
#46229E #9E8422 #3C9E22
monochromatic
#190C39 #30176C #46229E #5C2DD0 #835EDC
Accessibility & contrast
On white
10.59
#46229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#46229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46229E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46229E | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#20465F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #46229e; /* rgb */ color: rgb(70, 34, 158); /* oklch */ color: oklch(38.7% 0.184 287.7);
Tailwind
colors: {
custom: {
50: '#8462bc',
500: '#46229e',
950: '#000000',
},
}SCSS
$custom: #46229e; $custom-light: #8462bc; $custom-dark: #000000;
JSON
{
"hex": "#46229e",
"rgb": {
"r": 70,
"g": 34,
"b": 158
},
"hsl": {
"h": 257.419,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.38748,
"c": 0.18371,
"h": 287.7
},
"luminance": 0.04915
}Semantic roles & 50–950 ramp
primary
#46229E
secondary
#A3C15B
accent
#E840B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81