#35217C#35217C
#35217C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 285.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #35217C |
|---|---|
| RGB | rgb(53, 33, 124) |
| HSL | hsl(253, 58%, 31%) |
| HSV | hsv(253, 73%, 49%) |
| CMYK | cmyk(57.3%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(21.21, 34.76, -48.40) |
| CIE-LCH | lch(21.21, 59.59, 305.68°) |
| OKLab | oklab(33.59% 0.0392 -0.1392) |
| OKLCH | oklch(33.59% 0.145 285.7) |
| XYZ | xyz(5.6490, 3.2995, 19.4041) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 5.34
Royal
#0C1793
ΔE00 5.60
Indigo
#4B0082
ΔE00 6.38
Dark Royal Blue
#02066F
ΔE00 7.15
Darkblue
#00008B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35217C #687C21
analogous
#213A7C #35217C #62217C
triadic
#35217C #7C3521 #217C35
tetradic
#35217C #7C213A #687C21 #217C62
square
#35217C #7C213A #687C21 #217C62
split-complementary
#35217C #7C6221 #3A7C21
monochromatic
#0C071B #20144C #35217C #4A2EAC #6649CF
Accessibility & contrast
On white
12.65
#35217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#35217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35217C
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35217C | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#15394C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #35217c; /* rgb */ color: rgb(53, 33, 124); /* oklch */ color: oklch(33.6% 0.145 285.7);
Tailwind
colors: {
custom: {
50: '#755ea3',
500: '#35217c',
950: '#000000',
},
}SCSS
$custom: #35217c; $custom-light: #755ea3; $custom-dark: #000000;
JSON
{
"hex": "#35217c",
"rgb": {
"r": 53,
"g": 33,
"b": 124
},
"hsl": {
"h": 253.187,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.33593,
"c": 0.14463,
"h": 285.7
},
"luminance": 0.033
}Semantic roles & 50–950 ramp
primary
#35217C
secondary
#99AF4A
accent
#E147BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F