#35198C#35198C
#35198C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.173 H 283.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #35198C |
|---|---|
| RGB | rgb(53, 25, 140) |
| HSL | hsl(255, 70%, 32%) |
| HSV | hsv(255, 82%, 55%) |
| CMYK | cmyk(62.1%, 82.1%, 0%, 45.1%) |
| CIE-LAB | lab(21.38, 43.87, -58.20) |
| CIE-LCH | lch(21.38, 72.88, 307.01°) |
| OKLab | oklab(34.21% 0.0407 -0.1678) |
| OKLCH | oklch(34.21% 0.173 283.6) |
| XYZ | xyz(6.5480, 3.3452, 25.1065) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.57
Royal
#0C1793
ΔE00 3.67
Cobalt Blue
#030AA7
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.12
Indigo Blue
#3A18B1
ΔE00 5.18
Darkblue
#00008B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35198C #708C19
analogous
#19368C #35198C #6F198C
triadic
#35198C #8C3519 #198C35
tetradic
#35198C #8C1936 #708C19 #198C6F
square
#35198C #8C1936 #708C19 #198C6F
split-complementary
#35198C #8C6F19 #368C19
monochromatic
#0E0624 #211058 #35198C #4922C0 #6842DD
Accessibility & contrast
On white
12.58
#35198C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#35198C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35198C
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35198C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35198C | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #35198c; /* rgb */ color: rgb(53, 25, 140); /* oklch */ color: oklch(34.2% 0.173 283.6);
Tailwind
colors: {
custom: {
50: '#785baf',
500: '#35198c',
950: '#000000',
},
}SCSS
$custom: #35198c; $custom-light: #785baf; $custom-dark: #000000;
JSON
{
"hex": "#35198c",
"rgb": {
"r": 53,
"g": 25,
"b": 140
},
"hsl": {
"h": 254.609,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.34208,
"c": 0.17266,
"h": 283.6
},
"luminance": 0.03346
}Semantic roles & 50–950 ramp
primary
#35198C
secondary
#A0BE43
accent
#ED3BC1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F