#46226F#46226F
#46226F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.127 H 301.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #46226F |
|---|---|
| RGB | rgb(70, 34, 111) |
| HSL | hsl(268, 53%, 28%) |
| HSV | hsv(268, 69%, 44%) |
| CMYK | cmyk(36.9%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(22.28, 33.71, -38.24) |
| CIE-LCH | lch(22.28, 50.98, 311.40°) |
| OKLab | oklab(34.47% 0.0665 -0.1087) |
| OKLCH | oklch(34.47% 0.127 301.4) |
| XYZ | xyz(5.9664, 3.5938, 15.4152) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.53
Indigo
#4B0082
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 7.23
Midnight Blue
#191970
ΔE00 7.80
Dark Indigo
#1F0954
ΔE00 8.41
Darkslateblue
#483D8B
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46226F #4B6F22
analogous
#22246F #46226F #6C226F
triadic
#46226F #6F4622 #226F46
tetradic
#46226F #6F2224 #4B6F22 #226F6C
square
#46226F #6F2224 #4B6F22 #226F6C
split-complementary
#46226F #6F6C22 #246F22
monochromatic
#0F0717 #281440 #46226F #64309E #8245C6
Accessibility & contrast
On white
12.22
#46226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#46226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46226F
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46226F | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#3D3345
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #46226f; /* rgb */ color: rgb(70, 34, 111); /* oklch */ color: oklch(34.5% 0.127 301.4);
Tailwind
colors: {
custom: {
50: '#7d6099',
500: '#46226f',
950: '#000000',
},
}SCSS
$custom: #46226f; $custom-light: #7d6099; $custom-dark: #000000;
JSON
{
"hex": "#46226f",
"rgb": {
"r": 70,
"g": 34,
"b": 111
},
"hsl": {
"h": 268.052,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.34473,
"c": 0.12747,
"h": 301.4
},
"luminance": 0.03594
}Semantic roles & 50–950 ramp
primary
#46226F
secondary
#79A24A
accent
#DD4B99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E