#35197C#35197C
#35197C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.154 H 287.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #35197C |
|---|---|
| RGB | rgb(53, 25, 124) |
| HSL | hsl(257, 66%, 29%) |
| HSV | hsv(257, 80%, 49%) |
| CMYK | cmyk(57.3%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(19.67, 39.10, -50.93) |
| CIE-LCH | lch(19.67, 64.20, 307.52°) |
| OKLab | oklab(32.51% 0.0458 -0.1466) |
| OKLCH | oklch(32.51% 0.154 287.4) |
| XYZ | xyz(5.4528, 2.9071, 19.3387) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.49
Midnight Blue
#191970
ΔE00 4.28
Indigo
#4B0082
ΔE00 4.90
Royal
#0C1793
ΔE00 5.18
Navy
#000080
ΔE00 6.04
Dark Royal Blue
#02066F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35197C #607C19
analogous
#192E7C #35197C #67197C
triadic
#35197C #7C3519 #197C35
tetradic
#35197C #7C192E #607C19 #197C67
square
#35197C #7C192E #607C19 #197C67
split-complementary
#35197C #7C6719 #2E7C19
monochromatic
#0B0519 #1F0F49 #35197C #4B23AF #6538D7
Accessibility & contrast
On white
13.28
#35197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#35197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35197C
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35197C | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#16354A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #35197c; /* rgb */ color: rgb(53, 25, 124); /* oklch */ color: oklch(32.5% 0.154 287.4);
Tailwind
colors: {
custom: {
50: '#755aa3',
500: '#35197c',
950: '#000000',
},
}SCSS
$custom: #35197c; $custom-light: #755aa3; $custom-dark: #000000;
JSON
{
"hex": "#35197c",
"rgb": {
"r": 53,
"g": 25,
"b": 124
},
"hsl": {
"h": 256.97,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.32508,
"c": 0.15356,
"h": 287.4
},
"luminance": 0.02907
}Semantic roles & 50–950 ramp
primary
#35197C
secondary
#91B040
accent
#E93EB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F