#2C1066#2C1066
#2C1066 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.136 H 289.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1066 |
|---|---|
| RGB | rgb(44, 16, 102) |
| HSL | hsl(260, 73%, 23%) |
| HSV | hsv(260, 84%, 40%) |
| CMYK | cmyk(56.9%, 84.3%, 0%, 60%) |
| CIE-LAB | lab(14.76, 35.65, -44.77) |
| CIE-LCH | lch(14.76, 57.23, 308.53°) |
| OKLab | oklab(28.14% 0.0449 -0.1288) |
| OKLCH | oklch(28.14% 0.136 289.2) |
| XYZ | xyz(3.6216, 1.8652, 12.7370) |
| Luminance | 0.0186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.46
Midnight Blue
#191970
ΔE00 4.19
Darkblue (survey)
#030764
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 5.11
Deep Blue
#040273
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1066 #4A6610
analogous
#101F66 #2C1066 #571066
triadic
#2C1066 #662C10 #10662C
tetradic
#2C1066 #66101F #4A6610 #106657
square
#2C1066 #66101F #4A6610 #106657
split-complementary
#2C1066 #665710 #1F6610
monochromatic
#0B041A #150831 #2C1066 #43189B #5A21D0
Accessibility & contrast
On white
15.29
#2C1066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2C1066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1066
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1066 | 1.00 | 15.29 | 1.37 | 15.29 |
| #FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#15293B
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2c1066; /* rgb */ color: rgb(44, 16, 102); /* oklch */ color: oklch(28.1% 0.136 289.2);
Tailwind
colors: {
custom: {
50: '#6d5293',
500: '#2c1066',
950: '#000000',
},
}SCSS
$custom: #2c1066; $custom-light: #6d5293; $custom-dark: #000000;
JSON
{
"hex": "#2c1066",
"rgb": {
"r": 44,
"g": 16,
"b": 102
},
"hsl": {
"h": 259.535,
"s": 72.881,
"l": 23.137
},
"oklch": {
"l": 0.28145,
"c": 0.13638,
"h": 289.2
},
"luminance": 0.01865
}Semantic roles & 50–950 ramp
primary
#2C1066
secondary
#7C9E33
accent
#F038B4
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E