#351A7C#351A7C
#351A7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.153 H 287.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #351A7C |
|---|---|
| RGB | rgb(53, 26, 124) |
| HSL | hsl(257, 65%, 29%) |
| HSV | hsv(257, 79%, 49%) |
| CMYK | cmyk(57.3%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(19.84, 38.59, -50.63) |
| CIE-LCH | lch(19.84, 63.67, 307.31°) |
| OKLab | oklab(32.63% 0.0451 -0.1457) |
| OKLCH | oklch(32.63% 0.153 287.2) |
| XYZ | xyz(5.4746, 2.9506, 19.3459) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.70
Midnight Blue
#191970
ΔE00 4.23
Indigo
#4B0082
ΔE00 5.05
Royal
#0C1793
ΔE00 5.20
Dark Royal Blue
#02066F
ΔE00 6.16
Navy
#000080
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351A7C #617C1A
analogous
#1A307C #351A7C #661A7C
triadic
#351A7C #7C351A #1A7C35
tetradic
#351A7C #7C1A30 #617C1A #1A7C66
square
#351A7C #7C1A30 #617C1A #1A7C66
split-complementary
#351A7C #7C661A #307C1A
monochromatic
#0B0519 #1F0F49 #351A7C #4B25AF #653BD6
Accessibility & contrast
On white
13.21
#351A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#351A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351A7C
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351A7C | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#16364A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #351a7c; /* rgb */ color: rgb(53, 26, 124); /* oklch */ color: oklch(32.6% 0.153 287.2);
Tailwind
colors: {
custom: {
50: '#755aa3',
500: '#351a7c',
950: '#000000',
},
}SCSS
$custom: #351a7c; $custom-light: #755aa3; $custom-dark: #000000;
JSON
{
"hex": "#351a7c",
"rgb": {
"r": 53,
"g": 26,
"b": 124
},
"hsl": {
"h": 256.531,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.32632,
"c": 0.15252,
"h": 287.2
},
"luminance": 0.02951
}Semantic roles & 50–950 ramp
primary
#351A7C
secondary
#92B042
accent
#E840BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F