#351B7E#351B7E
#351B7E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.154 H 286.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #351B7E |
|---|---|
| RGB | rgb(53, 27, 126) |
| HSL | hsl(256, 65%, 30%) |
| HSV | hsv(256, 79%, 49%) |
| CMYK | cmyk(57.9%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.23, 38.68, -51.27) |
| CIE-LCH | lch(20.23, 64.23, 307.03°) |
| OKLab | oklab(32.96% 0.0437 -0.1476) |
| OKLCH | oklch(32.96% 0.154 286.5) |
| XYZ | xyz(5.6249, 3.0468, 20.0263) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.82
Midnight Blue
#191970
ΔE00 4.30
Royal
#0C1793
ΔE00 4.97
Indigo
#4B0082
ΔE00 5.17
Darkblue
#00008B
ΔE00 6.18
Navy
#000080
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351B7E #647E1B
analogous
#1B327E #351B7E #671B7E
triadic
#351B7E #7E351B #1B7E35
tetradic
#351B7E #7E1B32 #647E1B #1B7E67
square
#351B7E #7E1B32 #647E1B #1B7E67
split-complementary
#351B7E #7E671B #327E1B
monochromatic
#0B0519 #20104C #351B7E #4A26B0 #663ED6
Accessibility & contrast
On white
13.05
#351B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#351B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351B7E
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351B7E | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#13374B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #351b7e; /* rgb */ color: rgb(53, 27, 126); /* oklch */ color: oklch(33.0% 0.154 286.5);
Tailwind
colors: {
custom: {
50: '#765ba4',
500: '#351b7e',
950: '#000000',
},
}SCSS
$custom: #351b7e; $custom-light: #765ba4; $custom-dark: #000000;
JSON
{
"hex": "#351b7e",
"rgb": {
"r": 53,
"g": 27,
"b": 126
},
"hsl": {
"h": 255.758,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.32964,
"c": 0.15393,
"h": 286.5
},
"luminance": 0.03047
}Semantic roles & 50–950 ramp
primary
#351B7E
secondary
#95B243
accent
#E840BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F