#2C1943#2C1943
#2C1943 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.077 H 302.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1943 |
|---|---|
| RGB | rgb(44, 25, 67) |
| HSL | hsl(267, 46%, 18%) |
| HSV | hsv(267, 63%, 26%) |
| CMYK | cmyk(34.3%, 62.7%, 0%, 73.7%) |
| CIE-LAB | lab(13.45, 19.74, -23.15) |
| CIE-LCH | lch(13.45, 30.43, 310.45°) |
| OKLab | oklab(26.22% 0.0412 -0.0654) |
| OKLCH | oklch(26.22% 0.077 302.2) |
| XYZ | xyz(2.3992, 1.6360, 5.4985) |
| Luminance | 0.0164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 6.17
Midnight Purple
#280137
ΔE00 6.34
Very Dark Purple
#2A0134
ΔE00 6.62
Dark Violet
#34013F
ΔE00 6.95
Deep Purple
#36013F
ΔE00 7.14
Eggplant
#380835
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1943 #304319
analogous
#191B43 #2C1943 #411943
triadic
#2C1943 #432C19 #19432C
tetradic
#2C1943 #43191B #304319 #194341
square
#2C1943 #43191B #304319 #194341
split-complementary
#2C1943 #434119 #1B4319
monochromatic
#0F0816 #0F0816 #2C1943 #492A70 #673A9C
Accessibility & contrast
On white
15.82
#2C1943 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#2C1943 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1943
15.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1943 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1943 | 1.00 | 15.82 | 1.33 | 15.82 |
| #FFFFFF | 15.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#082244
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#28212B
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #2c1943; /* rgb */ color: rgb(44, 25, 67); /* oklch */ color: oklch(26.2% 0.077 302.2);
Tailwind
colors: {
custom: {
50: '#675677',
500: '#2c1943',
950: '#000000',
},
}SCSS
$custom: #2c1943; $custom-light: #675677; $custom-dark: #000000;
JSON
{
"hex": "#2c1943",
"rgb": {
"r": 44,
"g": 25,
"b": 67
},
"hsl": {
"h": 267.143,
"s": 45.652,
"l": 18.039
},
"oklch": {
"l": 0.26217,
"c": 0.0773,
"h": 302.2
},
"luminance": 0.01636
}Semantic roles & 50–950 ramp
primary
#2C1943
secondary
#5F793F
accent
#D5529A
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060309
muted
#7A787B