#2C1050#2C1050
#2C1050 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.109 H 298.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1050 |
|---|---|
| RGB | rgb(44, 16, 80) |
| HSL | hsl(266, 67%, 19%) |
| HSV | hsv(266, 80%, 31%) |
| CMYK | cmyk(45%, 80%, 0%, 68.6%) |
| CIE-LAB | lab(12.51, 29.12, -33.67) |
| CIE-LCH | lch(12.51, 44.51, 310.86°) |
| OKLab | oklab(25.88% 0.0517 -0.0962) |
| OKLCH | oklch(25.88% 0.109 298.3) |
| XYZ | xyz(2.6716, 1.4852, 7.7338) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.33
Dark Violet
#34013F
ΔE00 5.78
Midnight Purple
#280137
ΔE00 5.78
Dark Purple
#35063E
ΔE00 5.99
Deep Purple
#36013F
ΔE00 6.15
Night Blue
#040348
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1050 #345010
analogous
#101450 #2C1050 #4C1050
triadic
#2C1050 #502C10 #10502C
tetradic
#2C1050 #501014 #345010 #10504C
square
#2C1050 #501014 #345010 #10504C
split-complementary
#2C1050 #504C10 #145010
monochromatic
#0E051A #10061D #2C1050 #481A83 #6424B6
Accessibility & contrast
On white
16.19
#2C1050 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#2C1050 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1050
16.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1050 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1050 | 1.00 | 16.19 | 1.30 | 16.19 |
| #FFFFFF | 16.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#23202F
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2c1050; /* rgb */ color: rgb(44, 16, 80); /* oklch */ color: oklch(25.9% 0.109 298.3);
Tailwind
colors: {
custom: {
50: '#695182',
500: '#2c1050',
950: '#000000',
},
}SCSS
$custom: #2c1050; $custom-light: #695182; $custom-dark: #000000;
JSON
{
"hex": "#2c1050",
"rgb": {
"r": 44,
"g": 16,
"b": 80
},
"hsl": {
"h": 266.25,
"s": 66.667,
"l": 18.824
},
"oklch": {
"l": 0.25884,
"c": 0.10925,
"h": 298.3
},
"luminance": 0.01485
}Semantic roles & 50–950 ramp
primary
#2C1050
secondary
#638A32
accent
#EA3E9F
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C