#35197E#35197E
#35197E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.156 H 286.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #35197E |
|---|---|
| RGB | rgb(53, 25, 126) |
| HSL | hsl(257, 67%, 30%) |
| HSV | hsv(257, 80%, 49%) |
| CMYK | cmyk(57.9%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.88, 39.70, -51.86) |
| CIE-LCH | lch(19.88, 65.31, 307.44°) |
| OKLab | oklab(32.72% 0.0452 -0.1493) |
| OKLCH | oklch(32.72% 0.156 286.8) |
| XYZ | xyz(5.5806, 2.9582, 20.0115) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.39
Midnight Blue
#191970
ΔE00 4.38
Indigo
#4B0082
ΔE00 4.86
Royal
#0C1793
ΔE00 4.93
Darkblue
#00008B
ΔE00 5.91
Navy
#000080
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35197E #627E19
analogous
#192F7E #35197E #68197E
triadic
#35197E #7E3519 #197E35
tetradic
#35197E #7E192F #627E19 #197E68
square
#35197E #7E192F #627E19 #197E68
split-complementary
#35197E #7E6819 #2F7E19
monochromatic
#0B051A #200F4B #35197E #4A23B1 #653AD8
Accessibility & contrast
On white
13.19
#35197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#35197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35197E
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35197E | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#13364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #35197e; /* rgb */ color: rgb(53, 25, 126); /* oklch */ color: oklch(32.7% 0.156 286.8);
Tailwind
colors: {
custom: {
50: '#765aa4',
500: '#35197e',
950: '#000000',
},
}SCSS
$custom: #35197e; $custom-light: #765aa4; $custom-dark: #000000;
JSON
{
"hex": "#35197e",
"rgb": {
"r": 53,
"g": 25,
"b": 126
},
"hsl": {
"h": 256.634,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.32716,
"c": 0.15597,
"h": 286.8
},
"luminance": 0.02959
}Semantic roles & 50–950 ramp
primary
#35197E
secondary
#93B241
accent
#EA3EBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F