#2C1365#2C1365
#2C1365 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.132 H 288.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1365 |
|---|---|
| RGB | rgb(44, 19, 101) |
| HSL | hsl(258, 68%, 24%) |
| HSV | hsv(258, 81%, 40%) |
| CMYK | cmyk(56.4%, 81.2%, 0%, 60.4%) |
| CIE-LAB | lab(15.17, 33.86, -43.44) |
| CIE-LCH | lch(15.17, 55.08, 307.94°) |
| OKLab | oklab(28.4% 0.0428 -0.1249) |
| OKLCH | oklch(28.4% 0.132 288.9) |
| XYZ | xyz(3.6199, 1.9406, 12.4932) |
| Luminance | 0.0194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.48
Midnight Blue
#191970
ΔE00 3.98
Darkblue (survey)
#030764
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 5.22
Dark Blue
#00035B
ΔE00 5.57
Indigo (survey)
#380282
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1365 #4C6513
analogous
#132365 #2C1365 #551365
triadic
#2C1365 #652C13 #13652C
tetradic
#2C1365 #651323 #4C6513 #136555
square
#2C1365 #651323 #4C6513 #136555
split-complementary
#2C1365 #655513 #236513
monochromatic
#0B051A #160931 #2C1365 #421D99 #5926CC
Accessibility & contrast
On white
15.13
#2C1365 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2C1365 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1365
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1365 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1365 | 1.00 | 15.13 | 1.39 | 15.13 |
| #FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#162A3B
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2c1365; /* rgb */ color: rgb(44, 19, 101); /* oklch */ color: oklch(28.4% 0.132 288.9);
Tailwind
colors: {
custom: {
50: '#6d5492',
500: '#2c1365',
950: '#000000',
},
}SCSS
$custom: #2c1365; $custom-light: #6d5492; $custom-dark: #000000;
JSON
{
"hex": "#2c1365",
"rgb": {
"r": 44,
"g": 19,
"b": 101
},
"hsl": {
"h": 258.293,
"s": 68.333,
"l": 23.529
},
"oklch": {
"l": 0.28398,
"c": 0.13206,
"h": 288.9
},
"luminance": 0.01941
}Semantic roles & 50–950 ramp
primary
#2C1365
secondary
#7E9D37
accent
#EB3DB6
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E