#35147F#35147F
#35147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.162 H 287.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #35147F |
|---|---|
| RGB | rgb(53, 20, 127) |
| HSL | hsl(259, 73%, 29%) |
| HSV | hsv(259, 84%, 50%) |
| CMYK | cmyk(58.3%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.18, 42.32, -53.64) |
| CIE-LCH | lch(19.18, 68.33, 308.27°) |
| OKLab | oklab(32.27% 0.0483 -0.1544) |
| OKLCH | oklch(32.27% 0.162 287.4) |
| XYZ | xyz(5.5480, 2.7892, 20.3206) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.41
Indigo
#4B0082
ΔE00 4.23
Midnight Blue
#191970
ΔE00 4.78
Royal
#0C1793
ΔE00 4.86
Darkblue
#00008B
ΔE00 5.28
Navy
#000080
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35147F #5E7F14
analogous
#14297F #35147F #6B147F
triadic
#35147F #7F3514 #147F35
tetradic
#35147F #7F1429 #5E7F14 #147F6B
square
#35147F #7F1429 #5E7F14 #147F6B
split-complementary
#35147F #7F6B14 #297F14
monochromatic
#0B041A #1F0C4A #35147F #4B1CB4 #652FDE
Accessibility & contrast
On white
13.48
#35147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#35147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35147F
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35147F | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#12354B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #35147f; /* rgb */ color: rgb(53, 20, 127); /* oklch */ color: oklch(32.3% 0.162 287.4);
Tailwind
colors: {
custom: {
50: '#7657a5',
500: '#35147f',
950: '#000000',
},
}SCSS
$custom: #35147f; $custom-light: #7657a5; $custom-dark: #000000;
JSON
{
"hex": "#35147f",
"rgb": {
"r": 53,
"g": 20,
"b": 127
},
"hsl": {
"h": 258.505,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.32265,
"c": 0.1618,
"h": 287.4
},
"luminance": 0.0279
}Semantic roles & 50–950 ramp
primary
#35147F
secondary
#8FB43B
accent
#EF38B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F