#46309F#46309F
#46309F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.170 H 285.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #46309F |
|---|---|
| RGB | rgb(70, 48, 159) |
| HSL | hsl(252, 54%, 41%) |
| HSV | hsv(252, 70%, 62%) |
| CMYK | cmyk(56%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.21, 39.91, -56.97) |
| CIE-LCH | lch(29.21, 69.56, 305.02°) |
| OKLab | oklab(40.7% 0.0442 -0.1638) |
| OKLCH | oklch(40.7% 0.17 285.1) |
| XYZ | xyz(9.8389, 5.9186, 33.4181) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.32
Blueberry
#464196
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 5.64
Rebeccapurple
#663399
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46309F #899F30
analogous
#30519F #46309F #7D309F
triadic
#46309F #9F4630 #309F46
tetradic
#46309F #9F3051 #899F30 #309F7D
square
#46309F #9F3051 #899F30 #309F7D
split-complementary
#46309F #9F7D30 #519F30
monochromatic
#1D1441 #312270 #46309F #5F45C7 #8774D5
Accessibility & contrast
On white
9.62
#46309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#46309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46309F
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46309F | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#1E4D63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #46309f; /* rgb */ color: rgb(70, 48, 159); /* oklch */ color: oklch(40.7% 0.170 285.1);
Tailwind
colors: {
custom: {
50: '#836abc',
500: '#46309f',
950: '#000000',
},
}SCSS
$custom: #46309f; $custom-light: #836abc; $custom-dark: #000000;
JSON
{
"hex": "#46309f",
"rgb": {
"r": 70,
"g": 48,
"b": 159
},
"hsl": {
"h": 251.892,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40699,
"c": 0.16968,
"h": 285.1
},
"luminance": 0.05919
}Semantic roles & 50–950 ramp
primary
#46309F
secondary
#ADBD6E
accent
#DD4BC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81