#2C2236#2C2236
#2C2236 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.3% C 0.039 H 306.9°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2236 |
|---|---|
| RGB | rgb(44, 34, 54) |
| HSL | hsl(270, 23%, 17%) |
| HSV | hsv(270, 37%, 21%) |
| CMYK | cmyk(18.5%, 37%, 0%, 78.8%) |
| CIE-LAB | lab(15.20, 9.64, -11.25) |
| CIE-LCH | lch(15.20, 14.81, 310.60°) |
| OKLab | oklab(27.28% 0.0232 -0.0309) |
| OKLCH | oklch(27.28% 0.039 306.9) |
| XYZ | xyz(2.2765, 1.9459, 3.7450) |
| Luminance | 0.0195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 10.21
Dark
#1B2431
ΔE00 11.29
Eggplant
#380835
ΔE00 11.60
Navy (survey)
#01153E
ΔE00 11.67
Midnight
#03012D
ΔE00 11.86
Dark Navy Blue
#00022E
ΔE00 12.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2236 #2C3622
analogous
#222236 #2C2236 #362236
triadic
#2C2236 #362C22 #22362C
tetradic
#2C2236 #362222 #2C3622 #223636
square
#2C2236 #362222 #2C3622 #223636
split-complementary
#2C2236 #363622 #223622
monochromatic
#0F0C13 #0F0C13 #2C2236 #4B3A5C #695181
Accessibility & contrast
On white
15.12
#2C2236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2C2236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2236
15.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2236 | 1.00 | 15.12 | 1.39 | 15.12 |
| #FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#2B2529
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2c2236; /* rgb */ color: rgb(44, 34, 54); /* oklch */ color: oklch(27.3% 0.039 306.9);
Tailwind
colors: {
custom: {
50: '#655d6d',
500: '#2c2236',
950: '#000000',
},
}SCSS
$custom: #2c2236; $custom-light: #655d6d; $custom-dark: #000000;
JSON
{
"hex": "#2c2236",
"rgb": {
"r": 44,
"g": 34,
"b": 54
},
"hsl": {
"h": 270,
"s": 22.727,
"l": 17.255
},
"oklch": {
"l": 0.27276,
"c": 0.03864,
"h": 306.9
},
"luminance": 0.01946
}Semantic roles & 50–950 ramp
primary
#2C2236
secondary
#5A684C
accent
#BF6994
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050407
muted
#7A797A