#46236E#46236E
#46236E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.125 H 301.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #46236E |
|---|---|
| RGB | rgb(70, 35, 110) |
| HSL | hsl(268, 52%, 28%) |
| HSV | hsv(268, 68%, 43%) |
| CMYK | cmyk(36.4%, 68.2%, 0%, 56.9%) |
| CIE-LAB | lab(22.41, 32.87, -37.39) |
| CIE-LCH | lch(22.41, 49.78, 311.33°) |
| OKLab | oklab(34.54% 0.0654 -0.1062) |
| OKLCH | oklch(34.54% 0.125 301.6) |
| XYZ | xyz(5.9406, 3.6299, 15.1365) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.81
Indigo
#4B0082
ΔE00 6.64
Indigo (survey)
#380282
ΔE00 7.58
Midnight Blue
#191970
ΔE00 7.95
Darkslateblue
#483D8B
ΔE00 8.47
Dark Indigo
#1F0954
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46236E #4B6E23
analogous
#23256E #46236E #6B236E
triadic
#46236E #6E4623 #236E46
tetradic
#46236E #6E2325 #4B6E23 #236E6B
square
#46236E #6E2325 #4B6E23 #236E6B
split-complementary
#46236E #6E6B23 #256E23
monochromatic
#0F0717 #281440 #46236E #64329C #8247C4
Accessibility & contrast
On white
12.17
#46236E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#46236E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46236E
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46236E | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#05356C
Tritanopia (blue-blind)
#3E3445
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #46236e; /* rgb */ color: rgb(70, 35, 110); /* oklch */ color: oklch(34.5% 0.125 301.6);
Tailwind
colors: {
custom: {
50: '#7d6098',
500: '#46236e',
950: '#000000',
},
}SCSS
$custom: #46236e; $custom-light: #7d6098; $custom-dark: #000000;
JSON
{
"hex": "#46236e",
"rgb": {
"r": 70,
"g": 35,
"b": 110
},
"hsl": {
"h": 268,
"s": 51.724,
"l": 28.431
},
"oklch": {
"l": 0.3454,
"c": 0.12475,
"h": 301.6
},
"luminance": 0.0363
}Semantic roles & 50–950 ramp
primary
#46236E
secondary
#79A14C
accent
#DB4D99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E