#35167C#35167C
#35167C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.157 H 287.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #35167C |
|---|---|
| RGB | rgb(53, 22, 124) |
| HSL | hsl(258, 70%, 29%) |
| HSV | hsv(258, 82%, 49%) |
| CMYK | cmyk(57.3%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(19.16, 40.55, -51.75) |
| CIE-LCH | lch(19.16, 65.75, 308.08°) |
| OKLab | oklab(32.16% 0.048 -0.149) |
| OKLCH | oklch(32.16% 0.157 287.9) |
| XYZ | xyz(5.3921, 2.7857, 19.3184) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.91
Midnight Blue
#191970
ΔE00 4.47
Indigo
#4B0082
ΔE00 4.49
Royal
#0C1793
ΔE00 5.18
Navy
#000080
ΔE00 5.66
Darkblue
#00008B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35167C #5D7C16
analogous
#162A7C #35167C #68167C
triadic
#35167C #7C3516 #167C35
tetradic
#35167C #7C162A #5D7C16 #167C68
square
#35167C #7C162A #5D7C16 #167C68
split-complementary
#35167C #7C6816 #2A7C16
monochromatic
#0B051A #1F0D48 #35167C #4B1FB0 #6532DB
Accessibility & contrast
On white
13.49
#35167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#35167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35167C
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35167C | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#163449
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #35167c; /* rgb */ color: rgb(53, 22, 124); /* oklch */ color: oklch(32.2% 0.157 287.9);
Tailwind
colors: {
custom: {
50: '#7658a3',
500: '#35167c',
950: '#000000',
},
}SCSS
$custom: #35167c; $custom-light: #7658a3; $custom-dark: #000000;
JSON
{
"hex": "#35167c",
"rgb": {
"r": 53,
"g": 22,
"b": 124
},
"hsl": {
"h": 258.235,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.32157,
"c": 0.1565,
"h": 287.9
},
"luminance": 0.02786
}Semantic roles & 50–950 ramp
primary
#35167C
secondary
#8EB13D
accent
#ED3BB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F