#46229F#46229F
#46229F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.185 H 287.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #46229F |
|---|---|
| RGB | rgb(70, 34, 159) |
| HSL | hsl(257, 65%, 38%) |
| HSV | hsv(257, 79%, 62%) |
| CMYK | cmyk(56%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.59, 47.27, -61.26) |
| CIE-LCH | lch(26.59, 77.38, 307.66°) |
| OKLab | oklab(38.85% 0.0556 -0.1763) |
| OKLCH | oklch(38.85% 0.185 287.5) |
| XYZ | xyz(9.3540, 4.9489, 33.2565) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.17
Ultramarine
#2000B1
ΔE00 5.82
Violet Blue
#510AC9
ΔE00 5.88
Royal
#0C1793
ΔE00 6.25
Cobalt Blue
#030AA7
ΔE00 6.30
Royal Blue (survey)
#0504AA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46229F #7B9F22
analogous
#223C9F #46229F #84229F
triadic
#46229F #9F4622 #229F46
tetradic
#46229F #9F223C #7B9F22 #229F84
square
#46229F #9F223C #7B9F22 #229F84
split-complementary
#46229F #9F8422 #3C9F22
monochromatic
#1A0C3A #30176D #46229F #5C2DD1 #835FDD
Accessibility & contrast
On white
10.55
#46229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#46229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46229F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46229F | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#1F4660
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #46229f; /* rgb */ color: rgb(70, 34, 159); /* oklch */ color: oklch(38.8% 0.185 287.5);
Tailwind
colors: {
custom: {
50: '#8462bd',
500: '#46229f',
950: '#000000',
},
}SCSS
$custom: #46229f; $custom-light: #8462bd; $custom-dark: #000000;
JSON
{
"hex": "#46229f",
"rgb": {
"r": 70,
"g": 34,
"b": 159
},
"hsl": {
"h": 257.28,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.38847,
"c": 0.18485,
"h": 287.5
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#46229F
secondary
#A4C15B
accent
#E840B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81