#2C163F#2C163F
#2C163F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.077 H 306.5°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C163F |
|---|---|
| RGB | rgb(44, 22, 63) |
| HSL | hsl(272, 48%, 17%) |
| HSV | hsv(272, 65%, 25%) |
| CMYK | cmyk(30.2%, 65.1%, 0%, 75.3%) |
| CIE-LAB | lab(12.40, 20.55, -22.01) |
| CIE-LCH | lch(12.40, 30.11, 313.03°) |
| OKLab | oklab(25.36% 0.0458 -0.062) |
| OKLCH | oklch(25.36% 0.077 306.5) |
| XYZ | xyz(2.2226, 1.4682, 4.8680) |
| Luminance | 0.0147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 5.28
Midnight Purple
#280137
ΔE00 5.44
Very Dark Purple
#2A0134
ΔE00 5.57
Dark Violet
#34013F
ΔE00 6.14
Deep Purple
#36013F
ΔE00 6.31
Eggplant
#380835
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C163F #293F16
analogous
#18163F #2C163F #3F163E
triadic
#2C163F #3F2C16 #163F2C
tetradic
#2C163F #3F1816 #293F16 #163E3F
square
#2C163F #3F1816 #293F16 #163E3F
split-complementary
#2C163F #3E3F16 #163F18
monochromatic
#100817 #100817 #2C163F #4C266C #6B369A
Accessibility & contrast
On white
16.23
#2C163F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#2C163F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C163F
16.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C163F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C163F | 1.00 | 16.23 | 1.29 | 16.23 |
| #FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#072040
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#291E28
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2c163f; /* rgb */ color: rgb(44, 22, 63); /* oklch */ color: oklch(25.4% 0.077 306.5);
Tailwind
colors: {
custom: {
50: '#675474',
500: '#2c163f',
950: '#000000',
},
}SCSS
$custom: #2c163f; $custom-light: #675474; $custom-dark: #000000;
JSON
{
"hex": "#2c163f",
"rgb": {
"r": 44,
"g": 22,
"b": 63
},
"hsl": {
"h": 272.195,
"s": 48.235,
"l": 16.667
},
"oklch": {
"l": 0.25358,
"c": 0.0771,
"h": 306.5
},
"luminance": 0.01468
}Semantic roles & 50–950 ramp
primary
#2C163F
secondary
#56763B
accent
#D8508F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060308
muted
#7A787B