#351A9C#351A9C
#351A9C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.190 H 280.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #351A9C |
|---|---|
| RGB | rgb(53, 26, 156) |
| HSL | hsl(252, 71%, 36%) |
| HSV | hsv(252, 83%, 61%) |
| CMYK | cmyk(66%, 83.3%, 0%, 38.8%) |
| CIE-LAB | lab(23.32, 48.12, -64.88) |
| CIE-LCH | lch(23.32, 80.78, 306.57°) |
| OKLab | oklab(36.08% 0.0348 -0.1873) |
| OKLCH | oklch(36.08% 0.19 280.5) |
| XYZ | xyz(7.8364, 3.8954, 31.7850) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.91
Royal
#0C1793
ΔE00 3.71
Cobalt Blue
#030AA7
ΔE00 3.83
Ultramarine
#2000B1
ΔE00 3.94
Royal Blue (survey)
#0504AA
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#351A9C #819C1A
analogous
#1A409C #351A9C #761A9C
triadic
#351A9C #9C351A #1A9C35
tetradic
#351A9C #9C1A40 #819C1A #1A9C76
square
#351A9C #9C1A40 #819C1A #1A9C76
split-complementary
#351A9C #9C761A #409C1A
monochromatic
#110933 #231168 #351A9C #4723D0 #6D4FE2
Accessibility & contrast
On white
11.80
#351A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#351A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #351A9C
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##351A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##351A9C | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #351a9c; /* rgb */ color: rgb(53, 26, 156); /* oklch */ color: oklch(36.1% 0.190 280.5);
Tailwind
colors: {
custom: {
50: '#7c5cbb',
500: '#351a9c',
950: '#000000',
},
}SCSS
$custom: #351a9c; $custom-light: #7c5cbb; $custom-dark: #000000;
JSON
{
"hex": "#351a9c",
"rgb": {
"r": 53,
"g": 26,
"b": 156
},
"hsl": {
"h": 252.462,
"s": 71.429,
"l": 35.686
},
"oklch": {
"l": 0.3608,
"c": 0.19046,
"h": 280.5
},
"luminance": 0.03896
}Semantic roles & 50–950 ramp
primary
#351A9C
secondary
#ABC44E
accent
#EE3AC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981