#2C153E#2C153E
#2C153E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.078 H 307.6°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C153E |
|---|---|
| RGB | rgb(44, 21, 62) |
| HSL | hsl(274, 49%, 16%) |
| HSV | hsv(274, 66%, 24%) |
| CMYK | cmyk(29%, 66.1%, 0%, 75.7%) |
| CIE-LAB | lab(12.09, 20.91, -21.81) |
| CIE-LCH | lch(12.09, 30.22, 313.80°) |
| OKLab | oklab(25.1% 0.0474 -0.0614) |
| OKLCH | oklch(25.1% 0.078 307.6) |
| XYZ | xyz(2.1762, 1.4196, 4.7159) |
| Luminance | 0.0142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 4.99
Midnight Purple
#280137
ΔE00 5.16
Very Dark Purple
#2A0134
ΔE00 5.24
Dark Violet
#34013F
ΔE00 5.88
Deep Purple
#36013F
ΔE00 6.04
Eggplant
#380835
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C153E #273E15
analogous
#18153E #2C153E #3E153C
triadic
#2C153E #3E2C15 #153E2C
tetradic
#2C153E #3E1815 #273E15 #153C3E
square
#2C153E #3E1815 #273E15 #153C3E
split-complementary
#2C153E #3C3E15 #153E18
monochromatic
#100817 #100817 #2C153E #4C246C #6D3499
Accessibility & contrast
On white
16.36
#2C153E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#2C153E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C153E
16.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C153E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C153E | 1.00 | 16.36 | 1.28 | 16.36 |
| #FFFFFF | 16.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#291D27
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2c153e; /* rgb */ color: rgb(44, 21, 62); /* oklch */ color: oklch(25.1% 0.078 307.6);
Tailwind
colors: {
custom: {
50: '#675373',
500: '#2c153e',
950: '#000000',
},
}SCSS
$custom: #2c153e; $custom-light: #675373; $custom-dark: #000000;
JSON
{
"hex": "#2c153e",
"rgb": {
"r": 44,
"g": 21,
"b": 62
},
"hsl": {
"h": 273.659,
"s": 49.398,
"l": 16.275
},
"oklch": {
"l": 0.25102,
"c": 0.07756,
"h": 307.6
},
"luminance": 0.0142
}Semantic roles & 50–950 ramp
primary
#2C153E
secondary
#547639
accent
#D94F8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B