#46229C#46229C
#46229C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.181 H 288.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #46229C |
|---|---|
| RGB | rgb(70, 34, 156) |
| HSL | hsl(258, 64%, 37%) |
| HSV | hsv(258, 78%, 61%) |
| CMYK | cmyk(55.1%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.29, 46.42, -59.92) |
| CIE-LCH | lch(26.29, 75.80, 307.77°) |
| OKLab | oklab(38.55% 0.0565 -0.1724) |
| OKLCH | oklch(38.55% 0.181 288.1) |
| XYZ | xyz(9.0968, 4.8460, 31.9021) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.52
Ultramarine
#2000B1
ΔE00 6.01
Royal
#0C1793
ΔE00 6.18
Indigo
#4B0082
ΔE00 6.25
Violet Blue
#510AC9
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46229C #789C22
analogous
#223B9C #46229C #83229C
triadic
#46229C #9C4622 #229C46
tetradic
#46229C #9C223B #789C22 #229C83
square
#46229C #9C223B #789C22 #229C83
split-complementary
#46229C #9C8322 #3B9C22
monochromatic
#190C38 #2F176A #46229C #5D2DCE #825DDC
Accessibility & contrast
On white
10.66
#46229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#46229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46229C
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46229C | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#22455E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46229c; /* rgb */ color: rgb(70, 34, 156); /* oklch */ color: oklch(38.6% 0.181 288.1);
Tailwind
colors: {
custom: {
50: '#8362ba',
500: '#46229c',
950: '#000000',
},
}SCSS
$custom: #46229c; $custom-light: #8362ba; $custom-dark: #000000;
JSON
{
"hex": "#46229c",
"rgb": {
"r": 70,
"g": 34,
"b": 156
},
"hsl": {
"h": 257.705,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.3855,
"c": 0.1814,
"h": 288.1
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#46229C
secondary
#A2C05A
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81