#46339F#46339F
#46339F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.166 H 284.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #46339F |
|---|---|
| RGB | rgb(70, 51, 159) |
| HSL | hsl(251, 51%, 41%) |
| HSV | hsv(251, 68%, 62%) |
| CMYK | cmyk(56%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.84, 38.17, -55.92) |
| CIE-LCH | lch(29.84, 67.71, 304.32°) |
| OKLab | oklab(41.16% 0.0415 -0.1608) |
| OKLCH | oklch(41.16% 0.166 284.5) |
| XYZ | xyz(9.9657, 6.1724, 33.4604) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.27
Indigo Blue
#3A18B1
ΔE00 5.98
Blue With A Hint Of Purple
#533CC6
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46339F #8C9F33
analogous
#33569F #46339F #7C339F
triadic
#46339F #9F4633 #339F46
tetradic
#46339F #9F3356 #8C9F33 #339F7C
square
#46339F #9F3356 #8C9F33 #339F7C
split-complementary
#46339F #9F7C33 #569F33
monochromatic
#1D1542 #322471 #46339F #604AC5 #8979D4
Accessibility & contrast
On white
9.40
#46339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#46339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46339F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46339F | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#1D4F64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #46339f; /* rgb */ color: rgb(70, 51, 159); /* oklch */ color: oklch(41.2% 0.166 284.5);
Tailwind
colors: {
custom: {
50: '#836cbc',
500: '#46339f',
950: '#000000',
},
}SCSS
$custom: #46339f; $custom-light: #836cbc; $custom-dark: #000000;
JSON
{
"hex": "#46339f",
"rgb": {
"r": 70,
"g": 51,
"b": 159
},
"hsl": {
"h": 250.556,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.41156,
"c": 0.16602,
"h": 284.5
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#46339F
secondary
#AFBC71
accent
#DB4DC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81