#35197F#35197F
#35197F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.157 H 286.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #35197F |
|---|---|
| RGB | rgb(53, 25, 127) |
| HSL | hsl(256, 67%, 30%) |
| HSV | hsv(256, 80%, 50%) |
| CMYK | cmyk(58.3%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.98, 40.00, -52.32) |
| CIE-LCH | lch(19.98, 65.86, 307.40°) |
| OKLab | oklab(32.82% 0.0449 -0.1506) |
| OKLCH | oklch(32.82% 0.157 286.6) |
| XYZ | xyz(5.6454, 2.9841, 20.3531) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.36
Midnight Blue
#191970
ΔE00 4.45
Royal
#0C1793
ΔE00 4.81
Indigo
#4B0082
ΔE00 4.85
Darkblue
#00008B
ΔE00 5.83
Navy
#000080
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35197F #637F19
analogous
#19307F #35197F #68197F
triadic
#35197F #7F3519 #197F35
tetradic
#35197F #7F1930 #637F19 #197F68
square
#35197F #7F1930 #637F19 #197F68
split-complementary
#35197F #7F6819 #307F19
monochromatic
#0B051A #200F4C #35197F #4A23B2 #663AD8
Accessibility & contrast
On white
13.15
#35197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#35197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35197F
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35197F | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#12374C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #35197f; /* rgb */ color: rgb(53, 25, 127); /* oklch */ color: oklch(32.8% 0.157 286.6);
Tailwind
colors: {
custom: {
50: '#765aa5',
500: '#35197f',
950: '#000000',
},
}SCSS
$custom: #35197f; $custom-light: #765aa5; $custom-dark: #000000;
JSON
{
"hex": "#35197f",
"rgb": {
"r": 53,
"g": 25,
"b": 127
},
"hsl": {
"h": 256.471,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.3282,
"c": 0.15719,
"h": 286.6
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#35197F
secondary
#94B341
accent
#EA3EBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F