#35166E#35166E
#35166E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.140 H 292.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #35166E |
|---|---|
| RGB | rgb(53, 22, 110) |
| HSL | hsl(261, 67%, 26%) |
| HSV | hsv(261, 80%, 43%) |
| CMYK | cmyk(51.8%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(17.72, 36.45, -45.12) |
| CIE-LCH | lch(17.72, 58.00, 308.94°) |
| OKLab | oklab(30.71% 0.0525 -0.1295) |
| OKLCH | oklch(30.71% 0.14 292.1) |
| XYZ | xyz(4.5688, 2.4563, 14.9822) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.43
Midnight Blue
#191970
ΔE00 4.52
Royal Purple (survey)
#4B006E
ΔE00 5.28
Indigo
#4B0082
ΔE00 5.34
Dark Indigo
#1F0954
ΔE00 5.35
Dark Royal Blue
#02066F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35166E #4F6E16
analogous
#16236E #35166E #61166E
triadic
#35166E #6E3516 #166E35
tetradic
#35166E #6E1623 #4F6E16 #166E61
square
#35166E #6E1623 #4F6E16 #166E61
split-complementary
#35166E #6E6116 #236E16
monochromatic
#0C051A #1C0C3B #35166E #4E20A1 #662AD4
Accessibility & contrast
On white
14.08
#35166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#35166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35166E
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35166E | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#222E41
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #35166e; /* rgb */ color: rgb(53, 22, 110); /* oklch */ color: oklch(30.7% 0.140 292.1);
Tailwind
colors: {
custom: {
50: '#735798',
500: '#35166e',
950: '#000000',
},
}SCSS
$custom: #35166e; $custom-light: #735798; $custom-dark: #000000;
JSON
{
"hex": "#35166e",
"rgb": {
"r": 53,
"g": 22,
"b": 110
},
"hsl": {
"h": 261.136,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.30714,
"c": 0.13976,
"h": 292.1
},
"luminance": 0.02456
}Semantic roles & 50–950 ramp
primary
#35166E
secondary
#7FA43C
accent
#EA3EAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E