#35246E#35246E
#35246E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.122 H 288.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #35246E |
|---|---|
| RGB | rgb(53, 36, 110) |
| HSL | hsl(254, 51%, 29%) |
| HSV | hsv(254, 67%, 43%) |
| CMYK | cmyk(51.8%, 67.3%, 0%, 56.9%) |
| CIE-LAB | lab(20.61, 28.44, -40.39) |
| CIE-LCH | lch(20.61, 49.40, 305.15°) |
| OKLab | oklab(32.78% 0.0384 -0.1157) |
| OKLCH | oklch(32.78% 0.122 288.4) |
| XYZ | xyz(4.9127, 3.1442, 15.0969) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.83
Dark Indigo
#1F0954
ΔE00 7.21
Indigo (survey)
#380282
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.81
Indigo
#4B0082
ΔE00 8.07
Royal Purple (survey)
#4B006E
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#35246E #5D6E24
analogous
#24386E #35246E #5A246E
triadic
#35246E #6E3524 #246E35
tetradic
#35246E #6E2438 #5D6E24 #246E5A
square
#35246E #6E2438 #5D6E24 #246E5A
split-complementary
#35246E #6E5A24 #386E24
monochromatic
#0B0817 #1F1540 #35246E #4B339C #6549C3
Accessibility & contrast
On white
12.89
#35246E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#35246E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #35246E
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##35246E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##35246E | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#213645
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #35246e; /* rgb */ color: rgb(53, 36, 110); /* oklch */ color: oklch(32.8% 0.122 288.4);
Tailwind
colors: {
custom: {
50: '#726098',
500: '#35246e',
950: '#000000',
},
}SCSS
$custom: #35246e; $custom-light: #726098; $custom-dark: #000000;
JSON
{
"hex": "#35246e",
"rgb": {
"r": 53,
"g": 36,
"b": 110
},
"hsl": {
"h": 253.784,
"s": 50.685,
"l": 28.627
},
"oklch": {
"l": 0.32777,
"c": 0.12191,
"h": 288.4
},
"luminance": 0.03144
}Semantic roles & 50–950 ramp
primary
#35246E
secondary
#8EA14D
accent
#DA4EBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E