#46239B#46239B
#46239B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.179 H 288.2°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #46239B |
|---|---|
| RGB | rgb(70, 35, 155) |
| HSL | hsl(258, 63%, 37%) |
| HSV | hsv(258, 77%, 61%) |
| CMYK | cmyk(54.8%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(26.36, 45.65, -59.19) |
| CIE-LCH | lch(26.36, 74.75, 307.64°) |
| OKLab | oklab(38.57% 0.056 -0.1703) |
| OKLCH | oklch(38.57% 0.179 288.2) |
| XYZ | xyz(9.0415, 4.8703, 31.4676) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.72
Ultramarine
#2000B1
ΔE00 6.21
Royal
#0C1793
ΔE00 6.23
Indigo
#4B0082
ΔE00 6.31
Indigo (survey)
#380282
ΔE00 6.37
Violet Blue
#510AC9
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46239B #789B23
analogous
#233C9B #46239B #82239B
triadic
#46239B #9B4623 #239B46
tetradic
#46239B #9B233C #789B23 #239B82
square
#46239B #9B233C #789B23 #239B82
split-complementary
#46239B #9B8223 #3C9B23
monochromatic
#190C37 #2F1869 #46239B #5D2ECD #825EDB
Accessibility & contrast
On white
10.64
#46239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#46239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46239B
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46239B | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#23455E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46239b; /* rgb */ color: rgb(70, 35, 155); /* oklch */ color: oklch(38.6% 0.179 288.2);
Tailwind
colors: {
custom: {
50: '#8362ba',
500: '#46239b',
950: '#000000',
},
}SCSS
$custom: #46239b; $custom-light: #8362ba; $custom-dark: #000000;
JSON
{
"hex": "#46239b",
"rgb": {
"r": 70,
"g": 35,
"b": 155
},
"hsl": {
"h": 257.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.3857,
"c": 0.17924,
"h": 288.2
},
"luminance": 0.04871
}Semantic roles & 50–950 ramp
primary
#46239B
secondary
#A2BF5A
accent
#E642B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81