#35156C#35156C
#35156C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.138 H 293.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #35156C |
|---|---|
| RGB | rgb(53, 21, 108) |
| HSL | hsl(262, 67%, 25%) |
| HSV | hsv(262, 81%, 42%) |
| CMYK | cmyk(50.9%, 80.6%, 0%, 57.6%) |
| CIE-LAB | lab(17.35, 36.37, -44.42) |
| CIE-LCH | lch(17.35, 57.41, 309.31°) |
| OKLab | oklab(30.39% 0.054 -0.1275) |
| OKLCH | oklch(30.39% 0.138 293) |
| XYZ | xyz(4.4424, 2.3758, 14.4090) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.59
Midnight Blue
#191970
ΔE00 4.71
Dark Indigo
#1F0954
ΔE00 5.08
Royal Purple (survey)
#4B006E
ΔE00 5.12
Indigo
#4B0082
ΔE00 5.42
Dark Royal Blue
#02066F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35156C #4C6C15
analogous
#15206C #35156C #60156C
triadic
#35156C #6C3515 #156C35
tetradic
#35156C #6C1520 #4C6C15 #156C60
square
#35156C #6C1520 #4C6C15 #156C60
split-complementary
#35156C #6C6015 #206C15
monochromatic
#0D051A #1C0B39 #35156C #4E1F9F #6729D2
Accessibility & contrast
On white
14.24
#35156C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#35156C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35156C
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35156C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35156C | 1.00 | 14.24 | 1.48 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#242D40
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #35156c; /* rgb */ color: rgb(53, 21, 108); /* oklch */ color: oklch(30.4% 0.138 293.0);
Tailwind
colors: {
custom: {
50: '#735697',
500: '#35156c',
950: '#000000',
},
}SCSS
$custom: #35156c; $custom-light: #735697; $custom-dark: #000000;
JSON
{
"hex": "#35156c",
"rgb": {
"r": 53,
"g": 21,
"b": 108
},
"hsl": {
"h": 262.069,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.30392,
"c": 0.13845,
"h": 293
},
"luminance": 0.02376
}Semantic roles & 50–950 ramp
primary
#35156C
secondary
#7CA33A
accent
#EA3DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E