#46236C#46236C
#46236C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.122 H 302.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #46236C |
|---|---|
| RGB | rgb(70, 35, 108) |
| HSL | hsl(269, 51%, 28%) |
| HSV | hsv(269, 68%, 42%) |
| CMYK | cmyk(35.2%, 67.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.26, 32.33, -36.34) |
| CIE-LCH | lch(22.26, 48.64, 311.66°) |
| OKLab | oklab(34.38% 0.0656 -0.1032) |
| OKLCH | oklch(34.38% 0.122 302.4) |
| XYZ | xyz(5.8330, 3.5869, 14.5695) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.90
Indigo
#4B0082
ΔE00 6.93
Indigo (survey)
#380282
ΔE00 7.89
Midnight Blue
#191970
ΔE00 8.17
Plum Purple
#4E0550
ΔE00 8.44
Dark Indigo
#1F0954
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46236C #496C23
analogous
#23246C #46236C #6A236C
triadic
#46236C #6C4623 #236C46
tetradic
#46236C #6C2324 #496C23 #236C6A
square
#46236C #6C2324 #496C23 #236C6A
split-complementary
#46236C #6C6A23 #246C23
monochromatic
#0F0717 #28143E #46236C #64329A #8246C3
Accessibility & contrast
On white
12.23
#46236C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#46236C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46236C
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46236C | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#3E3344
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #46236c; /* rgb */ color: rgb(70, 35, 108); /* oklch */ color: oklch(34.4% 0.122 302.4);
Tailwind
colors: {
custom: {
50: '#7d6097',
500: '#46236c',
950: '#000000',
},
}SCSS
$custom: #46236c; $custom-light: #7d6097; $custom-dark: #000000;
JSON
{
"hex": "#46236c",
"rgb": {
"r": 70,
"g": 35,
"b": 108
},
"hsl": {
"h": 268.767,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.34382,
"c": 0.12224,
"h": 302.4
},
"luminance": 0.03587
}Semantic roles & 50–950 ramp
primary
#46236C
secondary
#779F4B
accent
#DB4D97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E