#46309E#46309E
#46309E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.168 H 285.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #46309E |
|---|---|
| RGB | rgb(70, 48, 158) |
| HSL | hsl(252, 53%, 40%) |
| HSV | hsv(252, 70%, 62%) |
| CMYK | cmyk(55.7%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(29.12, 39.60, -56.50) |
| CIE-LCH | lch(29.12, 69.00, 305.03°) |
| OKLab | oklab(40.61% 0.0444 -0.1625) |
| OKLCH | oklch(40.61% 0.168 285.3) |
| XYZ | xyz(9.7524, 5.8841, 32.9630) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.33
Blueberry
#464196
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46309E #889E30
analogous
#30519E #46309E #7D309E
triadic
#46309E #9E4630 #309E46
tetradic
#46309E #9E3051 #889E30 #309E7D
square
#46309E #9E3051 #889E30 #309E7D
split-complementary
#46309E #9E7D30 #519E30
monochromatic
#1C1340 #31226F #46309E #5F45C6 #8774D5
Accessibility & contrast
On white
9.65
#46309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#46309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46309E
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46309E | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#1F4C63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #46309e; /* rgb */ color: rgb(70, 48, 158); /* oklch */ color: oklch(40.6% 0.168 285.3);
Tailwind
colors: {
custom: {
50: '#836abc',
500: '#46309e',
950: '#000000',
},
}SCSS
$custom: #46309e; $custom-light: #836abc; $custom-dark: #000000;
JSON
{
"hex": "#46309e",
"rgb": {
"r": 70,
"g": 48,
"b": 158
},
"hsl": {
"h": 252,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.40608,
"c": 0.16841,
"h": 285.3
},
"luminance": 0.05885
}Semantic roles & 50–950 ramp
primary
#46309E
secondary
#ADBD6D
accent
#DD4BC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81