#351D7C#351D7C
#351D7C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.149 H 286.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #351D7C |
|---|---|
| RGB | rgb(53, 29, 124) |
| HSL | hsl(255, 62%, 30%) |
| HSV | hsv(255, 77%, 49%) |
| CMYK | cmyk(57.3%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(20.40, 37.01, -49.72) |
| CIE-LCH | lch(20.40, 61.98, 306.66°) |
| OKLab | oklab(33.02% 0.0426 -0.1431) |
| OKLCH | oklch(33.02% 0.149 286.6) |
| XYZ | xyz(5.5446, 3.0905, 19.3692) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 4.36
Royal
#0C1793
ΔE00 5.30
Indigo
#4B0082
ΔE00 5.57
Dark Royal Blue
#02066F
ΔE00 6.53
Navy
#000080
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351D7C #647C1D
analogous
#1D347C #351D7C #651D7C
triadic
#351D7C #7C351D #1D7C35
tetradic
#351D7C #7C1D34 #647C1D #1D7C65
square
#351D7C #7C1D34 #647C1D #1D7C65
split-complementary
#351D7C #7C651D #347C1D
monochromatic
#0B0619 #20114A #351D7C #4A29AE #6641D3
Accessibility & contrast
On white
12.98
#351D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#351D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351D7C
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351D7C | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#15374B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #351d7c; /* rgb */ color: rgb(53, 29, 124); /* oklch */ color: oklch(33.0% 0.149 286.6);
Tailwind
colors: {
custom: {
50: '#755ca3',
500: '#351d7c',
950: '#000000',
},
}SCSS
$custom: #351d7c; $custom-light: #755ca3; $custom-dark: #000000;
JSON
{
"hex": "#351d7c",
"rgb": {
"r": 53,
"g": 29,
"b": 124
},
"hsl": {
"h": 255.158,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.33024,
"c": 0.14928,
"h": 286.6
},
"luminance": 0.03091
}Semantic roles & 50–950 ramp
primary
#351D7C
secondary
#95B045
accent
#E543BC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F