#46309C#46309C
#46309C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.166 H 285.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #46309C |
|---|---|
| RGB | rgb(70, 48, 156) |
| HSL | hsl(252, 53%, 40%) |
| HSV | hsv(252, 69%, 61%) |
| CMYK | cmyk(55.1%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.94, 38.98, -55.57) |
| CIE-LCH | lch(28.94, 67.88, 305.05°) |
| OKLab | oklab(40.43% 0.0447 -0.1597) |
| OKLCH | oklch(40.43% 0.166 285.6) |
| XYZ | xyz(9.5817, 5.8158, 32.0637) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 5.89
Rebeccapurple
#663399
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46309C #869C30
analogous
#30509C #46309C #7C309C
triadic
#46309C #9C4630 #309C46
tetradic
#46309C #9C3050 #869C30 #309C7C
square
#46309C #9C3050 #869C30 #309C7C
split-complementary
#46309C #9C7C30 #509C30
monochromatic
#1C133E #31226D #46309C #5E44C5 #8673D4
Accessibility & contrast
On white
9.71
#46309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#46309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46309C
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46309C | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#214C62
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #46309c; /* rgb */ color: rgb(70, 48, 156); /* oklch */ color: oklch(40.4% 0.166 285.6);
Tailwind
colors: {
custom: {
50: '#826aba',
500: '#46309c',
950: '#000000',
},
}SCSS
$custom: #46309c; $custom-light: #826aba; $custom-dark: #000000;
JSON
{
"hex": "#46309c",
"rgb": {
"r": 70,
"g": 48,
"b": 156
},
"hsl": {
"h": 252.222,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.40428,
"c": 0.16587,
"h": 285.6
},
"luminance": 0.05816
}Semantic roles & 50–950 ramp
primary
#46309C
secondary
#ABBC6C
accent
#DC4BBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81