#35236F#35236F
#35236F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.125 H 288.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #35236F |
|---|---|
| RGB | rgb(53, 35, 111) |
| HSL | hsl(254, 52%, 29%) |
| HSV | hsv(254, 68%, 44%) |
| CMYK | cmyk(52.3%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(20.47, 29.39, -41.28) |
| CIE-LCH | lch(20.47, 50.67, 305.45°) |
| OKLab | oklab(32.7% 0.0394 -0.1183) |
| OKLCH | oklch(32.7% 0.125 288.4) |
| XYZ | xyz(4.9376, 3.1064, 15.3753) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 7.06
Dark Indigo
#1F0954
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.72
Royal
#0C1793
ΔE00 7.82
Royal Purple (survey)
#4B006E
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35236F #5D6F23
analogous
#23376F #35236F #5B236F
triadic
#35236F #6F3523 #236F35
tetradic
#35236F #6F2337 #5D6F23 #236F5B
square
#35236F #6F2337 #5D6F23 #236F5B
split-complementary
#35236F #6F5B23 #376F23
monochromatic
#0B0717 #1F1440 #35236F #4B329E #6547C5
Accessibility & contrast
On white
12.95
#35236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#35236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35236F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35236F | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#213645
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #35236f; /* rgb */ color: rgb(53, 35, 111); /* oklch */ color: oklch(32.7% 0.125 288.4);
Tailwind
colors: {
custom: {
50: '#725f99',
500: '#35236f',
950: '#000000',
},
}SCSS
$custom: #35236f; $custom-light: #725f99; $custom-dark: #000000;
JSON
{
"hex": "#35236f",
"rgb": {
"r": 53,
"g": 35,
"b": 111
},
"hsl": {
"h": 254.211,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.32697,
"c": 0.1247,
"h": 288.4
},
"luminance": 0.03107
}Semantic roles & 50–950 ramp
primary
#35236F
secondary
#8EA24C
accent
#DB4CBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E