#46226C#46226C
#46226C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.124 H 302.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #46226C |
|---|---|
| RGB | rgb(70, 34, 108) |
| HSL | hsl(269, 52%, 28%) |
| HSV | hsv(269, 69%, 42%) |
| CMYK | cmyk(35.2%, 68.5%, 0%, 57.6%) |
| CIE-LAB | lab(22.05, 32.89, -36.67) |
| CIE-LCH | lch(22.05, 49.26, 311.89°) |
| OKLab | oklab(34.23% 0.0668 -0.1041) |
| OKLCH | oklch(34.23% 0.124 302.7) |
| XYZ | xyz(5.8040, 3.5289, 14.5598) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.64
Indigo
#4B0082
ΔE00 6.71
Indigo (survey)
#380282
ΔE00 7.69
Midnight Blue
#191970
ΔE00 8.11
Plum Purple
#4E0550
ΔE00 8.31
Dark Indigo
#1F0954
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46226C #486C22
analogous
#22236C #46226C #6B226C
triadic
#46226C #6C4622 #226C46
tetradic
#46226C #6C2223 #486C22 #226C6B
square
#46226C #6C2223 #486C22 #226C6B
split-complementary
#46226C #6C6B22 #236C22
monochromatic
#0F0717 #28133D #46226C #64319B #8244C4
Accessibility & contrast
On white
12.31
#46226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#46226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46226C
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46226C | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#07356A
Tritanopia (blue-blind)
#3E3243
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #46226c; /* rgb */ color: rgb(70, 34, 108); /* oklch */ color: oklch(34.2% 0.124 302.7);
Tailwind
colors: {
custom: {
50: '#7d6097',
500: '#46226c',
950: '#000000',
},
}SCSS
$custom: #46226c; $custom-light: #7d6097; $custom-dark: #000000;
JSON
{
"hex": "#46226c",
"rgb": {
"r": 70,
"g": 34,
"b": 108
},
"hsl": {
"h": 269.189,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.34232,
"c": 0.12375,
"h": 302.7
},
"luminance": 0.03529
}Semantic roles & 50–950 ramp
primary
#46226C
secondary
#76A04A
accent
#DC4C96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E