#2C1953#2C1953
#2C1953 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.100 H 293.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1953 |
|---|---|
| RGB | rgb(44, 25, 83) |
| HSL | hsl(260, 54%, 21%) |
| HSV | hsv(260, 70%, 33%) |
| CMYK | cmyk(47%, 69.9%, 0%, 67.5%) |
| CIE-LAB | lab(14.71, 24.72, -32.14) |
| CIE-LCH | lch(14.71, 40.55, 307.56°) |
| OKLab | oklab(27.54% 0.0406 -0.0918) |
| OKLCH | oklch(27.54% 0.1 293.9) |
| XYZ | xyz(2.9472, 1.8552, 8.3847) |
| Luminance | 0.0186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.65
Midnight Blue
#191970
ΔE00 7.04
Navy Blue (survey)
#001146
ΔE00 7.05
Night Blue
#040348
ΔE00 7.12
Dark Purple
#35063E
ΔE00 7.43
Midnight Purple
#280137
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1953 #405319
analogous
#192353 #2C1953 #491953
triadic
#2C1953 #532C19 #19532C
tetradic
#2C1953 #531923 #405319 #195349
square
#2C1953 #531923 #405319 #195349
split-complementary
#2C1953 #534919 #235319
monochromatic
#0C0718 #130B24 #2C1953 #452782 #5E35B1
Accessibility & contrast
On white
15.32
#2C1953 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2C1953 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1953
15.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1953 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1953 | 1.00 | 15.32 | 1.37 | 15.32 |
| #FFFFFF | 15.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#212733
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2c1953; /* rgb */ color: rgb(44, 25, 83); /* oklch */ color: oklch(27.5% 0.100 293.9);
Tailwind
colors: {
custom: {
50: '#695784',
500: '#2c1953',
950: '#000000',
},
}SCSS
$custom: #2c1953; $custom-light: #695784; $custom-dark: #000000;
JSON
{
"hex": "#2c1953",
"rgb": {
"r": 44,
"g": 25,
"b": 83
},
"hsl": {
"h": 259.655,
"s": 53.704,
"l": 21.176
},
"oklch": {
"l": 0.27538,
"c": 0.10036,
"h": 293.9
},
"luminance": 0.01855
}Semantic roles & 50–950 ramp
primary
#2C1953
secondary
#71893E
accent
#DD4BAD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C