#46236F#46236F
#46236F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.126 H 301.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #46236F |
|---|---|
| RGB | rgb(70, 35, 111) |
| HSL | hsl(268, 52%, 29%) |
| HSV | hsv(268, 68%, 44%) |
| CMYK | cmyk(36.9%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(22.49, 33.15, -37.91) |
| CIE-LCH | lch(22.49, 50.36, 311.17°) |
| OKLab | oklab(34.62% 0.0653 -0.1078) |
| OKLCH | oklch(34.62% 0.126 301.2) |
| XYZ | xyz(5.9954, 3.6518, 15.4249) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.78
Indigo
#4B0082
ΔE00 6.51
Indigo (survey)
#380282
ΔE00 7.43
Midnight Blue
#191970
ΔE00 7.85
Darkslateblue
#483D8B
ΔE00 8.37
Dark Indigo
#1F0954
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46236F #4C6F23
analogous
#23266F #46236F #6C236F
triadic
#46236F #6F4623 #236F46
tetradic
#46236F #6F2326 #4C6F23 #236F6C
square
#46236F #6F2326 #4C6F23 #236F6C
split-complementary
#46236F #6F6C23 #266F23
monochromatic
#0F0717 #291440 #46236F #63329E #8147C5
Accessibility & contrast
On white
12.14
#46236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#46236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46236F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46236F | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#3D3445
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #46236f; /* rgb */ color: rgb(70, 35, 111); /* oklch */ color: oklch(34.6% 0.126 301.2);
Tailwind
colors: {
custom: {
50: '#7d6099',
500: '#46236f',
950: '#000000',
},
}SCSS
$custom: #46236f; $custom-light: #7d6099; $custom-dark: #000000;
JSON
{
"hex": "#46236f",
"rgb": {
"r": 70,
"g": 35,
"b": 111
},
"hsl": {
"h": 267.632,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.3462,
"c": 0.126,
"h": 301.2
},
"luminance": 0.03652
}Semantic roles & 50–950 ramp
primary
#46236F
secondary
#7AA24C
accent
#DB4C9A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E