#36175E#36175E
#36175E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.119 H 298.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #36175E |
|---|---|
| RGB | rgb(54, 23, 94) |
| HSL | hsl(266, 61%, 23%) |
| HSV | hsv(266, 76%, 37%) |
| CMYK | cmyk(42.6%, 75.5%, 0%, 63.1%) |
| CIE-LAB | lab(16.53, 31.47, -36.52) |
| CIE-LCH | lch(16.53, 48.21, 310.75°) |
| OKLab | oklab(29.44% 0.0573 -0.1043) |
| OKLCH | oklch(29.44% 0.119 298.8) |
| XYZ | xyz(3.8476, 2.2052, 10.8104) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.67
Royal Purple (survey)
#4B006E
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.52
Indigo (survey)
#380282
ΔE00 7.38
Dark Violet
#34013F
ΔE00 7.43
Indigo
#4B0082
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36175E #3F5E17
analogous
#171B5E #36175E #59175E
triadic
#36175E #5E3617 #175E36
tetradic
#36175E #5E171B #3F5E17 #175E59
square
#36175E #5E171B #3F5E17 #175E59
split-complementary
#36175E #5E5917 #1B5E17
monochromatic
#0E0619 #1A0B2D #36175E #52238F #6E2FC0
Accessibility & contrast
On white
14.57
#36175E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#36175E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36175E
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36175E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36175E | 1.00 | 14.57 | 1.44 | 14.57 |
| #FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2C2838
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #36175e; /* rgb */ color: rgb(54, 23, 94); /* oklch */ color: oklch(29.4% 0.119 298.8);
Tailwind
colors: {
custom: {
50: '#71578c',
500: '#36175e',
950: '#000000',
},
}SCSS
$custom: #36175e; $custom-light: #71578c; $custom-dark: #000000;
JSON
{
"hex": "#36175e",
"rgb": {
"r": 54,
"g": 23,
"b": 94
},
"hsl": {
"h": 266.197,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.29438,
"c": 0.11897,
"h": 298.8
},
"luminance": 0.02205
}Semantic roles & 50–950 ramp
primary
#36175E
secondary
#6E953C
accent
#E4449E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D