#46229B#46229B
#46229B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.180 H 288.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #46229B |
|---|---|
| RGB | rgb(70, 34, 155) |
| HSL | hsl(258, 64%, 37%) |
| HSV | hsv(258, 78%, 61%) |
| CMYK | cmyk(54.8%, 78.1%, 0%, 39.2%) |
| CIE-LAB | lab(26.19, 46.13, -59.47) |
| CIE-LCH | lch(26.19, 75.27, 307.80°) |
| OKLab | oklab(38.45% 0.0567 -0.1711) |
| OKLCH | oklch(38.45% 0.18 288.3) |
| XYZ | xyz(9.0125, 4.8123, 31.4580) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Ultramarine
#2000B1
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.15
Royal
#0C1793
ΔE00 6.17
Indigo (survey)
#380282
ΔE00 6.22
Violet Blue
#510AC9
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46229B #779B22
analogous
#223B9B #46229B #83229B
triadic
#46229B #9B4622 #229B46
tetradic
#46229B #9B223B #779B22 #229B83
square
#46229B #9B223B #779B22 #229B83
split-complementary
#46229B #9B8322 #3B9B22
monochromatic
#190C37 #2F1769 #46229B #5D2DCD #825CDB
Accessibility & contrast
On white
10.70
#46229B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#46229B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46229B
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46229B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46229B | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#23445E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46229b; /* rgb */ color: rgb(70, 34, 155); /* oklch */ color: oklch(38.5% 0.180 288.3);
Tailwind
colors: {
custom: {
50: '#8362ba',
500: '#46229b',
950: '#000000',
},
}SCSS
$custom: #46229b; $custom-light: #8362ba; $custom-dark: #000000;
JSON
{
"hex": "#46229b",
"rgb": {
"r": 70,
"g": 34,
"b": 155
},
"hsl": {
"h": 257.851,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.38452,
"c": 0.18023,
"h": 288.3
},
"luminance": 0.04813
}Semantic roles & 50–950 ramp
primary
#46229B
secondary
#A1C059
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81