#2C1655#2C1655
#2C1655 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.108 H 294.1°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1655 |
|---|---|
| RGB | rgb(44, 22, 85) |
| HSL | hsl(261, 59%, 21%) |
| HSV | hsv(261, 74%, 33%) |
| CMYK | cmyk(48.2%, 74.1%, 0%, 66.7%) |
| CIE-LAB | lab(14.20, 27.21, -34.32) |
| CIE-LCH | lch(14.20, 43.80, 308.41°) |
| OKLab | oklab(27.23% 0.0439 -0.0982) |
| OKLCH | oklch(27.23% 0.108 294.1) |
| XYZ | xyz(2.9649, 1.7651, 8.7771) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.67
Midnight Blue
#191970
ΔE00 6.49
Night Blue
#040348
ΔE00 6.60
Darkblue (survey)
#030764
ΔE00 7.13
Dark Blue
#00035B
ΔE00 7.21
Navy Blue (survey)
#001146
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1655 #3F5516
analogous
#161F55 #2C1655 #4B1655
triadic
#2C1655 #552C16 #16552C
tetradic
#2C1655 #55161F #3F5516 #16554B
square
#2C1655 #55161F #3F5516 #16554B
split-complementary
#2C1655 #554B16 #1F5516
monochromatic
#0D0618 #130924 #2C1655 #452386 #5E2FB6
Accessibility & contrast
On white
15.52
#2C1655 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#2C1655 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1655
15.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1655 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1655 | 1.00 | 15.52 | 1.35 | 15.52 |
| #FFFFFF | 15.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#202533
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #2c1655; /* rgb */ color: rgb(44, 22, 85); /* oklch */ color: oklch(27.2% 0.108 294.1);
Tailwind
colors: {
custom: {
50: '#6a5585',
500: '#2c1655',
950: '#000000',
},
}SCSS
$custom: #2c1655; $custom-light: #6a5585; $custom-dark: #000000;
JSON
{
"hex": "#2c1655",
"rgb": {
"r": 44,
"g": 22,
"b": 85
},
"hsl": {
"h": 260.952,
"s": 58.879,
"l": 20.98
},
"oklch": {
"l": 0.27229,
"c": 0.10757,
"h": 294.1
},
"luminance": 0.01765
}Semantic roles & 50–950 ramp
primary
#2C1655
secondary
#708C3A
accent
#E246AB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030B
muted
#7A787C