#351E7D#351E7D
#351E7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.149 H 286.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #351E7D |
|---|---|
| RGB | rgb(53, 30, 125) |
| HSL | hsl(255, 61%, 30%) |
| HSV | hsv(255, 76%, 49%) |
| CMYK | cmyk(57.6%, 76%, 0%, 51%) |
| CIE-LAB | lab(20.70, 36.77, -49.87) |
| CIE-LCH | lch(20.70, 61.96, 306.40°) |
| OKLab | oklab(33.26% 0.0415 -0.1435) |
| OKLCH | oklch(33.26% 0.149 286.1) |
| XYZ | xyz(5.6330, 3.1658, 19.7123) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 4.55
Royal
#0C1793
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.73
Dark Royal Blue
#02066F
ΔE00 6.68
Darkblue
#00008B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351E7D #667D1E
analogous
#1E377D #351E7D #641E7D
triadic
#351E7D #7D351E #1E7D35
tetradic
#351E7D #7D1E37 #667D1E #1E7D64
square
#351E7D #7D1E37 #667D1E #1E7D64
split-complementary
#351E7D #7D641E #377D1E
monochromatic
#0B061A #20124C #351E7D #4A2AAE #6643D2
Accessibility & contrast
On white
12.86
#351E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#351E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351E7D
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351E7D | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#14384C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #351e7d; /* rgb */ color: rgb(53, 30, 125); /* oklch */ color: oklch(33.3% 0.149 286.1);
Tailwind
colors: {
custom: {
50: '#755ca4',
500: '#351e7d',
950: '#000000',
},
}SCSS
$custom: #351e7d; $custom-light: #755ca4; $custom-dark: #000000;
JSON
{
"hex": "#351e7d",
"rgb": {
"r": 53,
"g": 30,
"b": 125
},
"hsl": {
"h": 254.526,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.33261,
"c": 0.14941,
"h": 286.1
},
"luminance": 0.03166
}Semantic roles & 50–950 ramp
primary
#351E7D
secondary
#97B046
accent
#E443BD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F