#351C86#351C86
#351C86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.163 H 284.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #351C86 |
|---|---|
| RGB | rgb(53, 28, 134) |
| HSL | hsl(254, 65%, 32%) |
| HSV | hsv(254, 79%, 53%) |
| CMYK | cmyk(60.4%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.24, 40.60, -54.67) |
| CIE-LCH | lch(21.24, 68.10, 306.60°) |
| OKLab | oklab(33.92% 0.0406 -0.1575) |
| OKLCH | oklch(33.92% 0.163 284.5) |
| XYZ | xyz(6.1852, 3.3082, 22.8623) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.92
Royal
#0C1793
ΔE00 4.15
Midnight Blue
#191970
ΔE00 4.91
Indigo
#4B0082
ΔE00 5.34
Darkblue
#00008B
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351C86 #6D861C
analogous
#1C3886 #351C86 #6A1C86
triadic
#351C86 #86351C #1C8635
tetradic
#351C86 #861C38 #6D861C #1C866A
square
#351C86 #861C38 #6D861C #1C866A
split-complementary
#351C86 #866A1C #38861C
monochromatic
#0D0721 #211153 #351C86 #4927B9 #6744D8
Accessibility & contrast
On white
12.64
#351C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#351C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351C86
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351C86 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#043B50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #351c86; /* rgb */ color: rgb(53, 28, 134); /* oklch */ color: oklch(33.9% 0.163 284.5);
Tailwind
colors: {
custom: {
50: '#775caa',
500: '#351c86',
950: '#000000',
},
}SCSS
$custom: #351c86; $custom-light: #775caa; $custom-dark: #000000;
JSON
{
"hex": "#351c86",
"rgb": {
"r": 53,
"g": 28,
"b": 134
},
"hsl": {
"h": 254.151,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.3392,
"c": 0.16268,
"h": 284.5
},
"luminance": 0.03309
}Semantic roles & 50–950 ramp
primary
#351C86
secondary
#9EB945
accent
#E83FC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F