#351B7F#351B7F
#351B7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.155 H 286.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #351B7F |
|---|---|
| RGB | rgb(53, 27, 127) |
| HSL | hsl(256, 65%, 30%) |
| HSV | hsv(256, 79%, 50%) |
| CMYK | cmyk(58.3%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(20.33, 38.99, -51.74) |
| CIE-LCH | lch(20.33, 64.78, 307.00°) |
| OKLab | oklab(33.07% 0.0434 -0.149) |
| OKLCH | oklch(33.07% 0.155 286.2) |
| XYZ | xyz(5.6897, 3.0727, 20.3678) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.78
Midnight Blue
#191970
ΔE00 4.36
Royal
#0C1793
ΔE00 4.85
Indigo
#4B0082
ΔE00 5.16
Darkblue
#00008B
ΔE00 6.11
Navy
#000080
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351B7F #657F1B
analogous
#1B337F #351B7F #671B7F
triadic
#351B7F #7F351B #1B7F35
tetradic
#351B7F #7F1B33 #657F1B #1B7F67
square
#351B7F #7F1B33 #657F1B #1B7F67
split-complementary
#351B7F #7F671B #337F1B
monochromatic
#0B061A #20104D #351B7F #4A26B1 #663ED6
Accessibility & contrast
On white
13.01
#351B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#351B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351B7F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351B7F | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#12374C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #351b7f; /* rgb */ color: rgb(53, 27, 127); /* oklch */ color: oklch(33.1% 0.155 286.2);
Tailwind
colors: {
custom: {
50: '#765ba5',
500: '#351b7f',
950: '#000000',
},
}SCSS
$custom: #351b7f; $custom-light: #765ba5; $custom-dark: #000000;
JSON
{
"hex": "#351b7f",
"rgb": {
"r": 53,
"g": 27,
"b": 127
},
"hsl": {
"h": 255.6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.33067,
"c": 0.15515,
"h": 286.2
},
"luminance": 0.03073
}Semantic roles & 50–950 ramp
primary
#351B7F
secondary
#96B343
accent
#E840BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F