#2C1685#2C1685
#2C1685 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.168 H 280.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1685 |
|---|---|
| RGB | rgb(44, 22, 133) |
| HSL | hsl(252, 72%, 30%) |
| HSV | hsv(252, 83%, 52%) |
| CMYK | cmyk(66.9%, 83.5%, 0%, 47.8%) |
| CIE-LAB | lab(19.23, 42.20, -57.38) |
| CIE-LCH | lch(19.23, 71.22, 306.33°) |
| OKLab | oklab(32.28% 0.0304 -0.1656) |
| OKLCH | oklch(32.28% 0.168 280.4) |
| XYZ | xyz(5.5579, 2.8023, 22.4338) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.17
Indigo (survey)
#380282
ΔE00 3.30
Midnight Blue
#191970
ΔE00 4.27
Darkblue
#00008B
ΔE00 4.32
Navy
#000080
ΔE00 4.64
Cobalt Blue
#030AA7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1685 #6F8516
analogous
#163785 #2C1685 #631685
triadic
#2C1685 #852C16 #16852C
tetradic
#2C1685 #851637 #6F8516 #168563
square
#2C1685 #851637 #6F8516 #168563
split-complementary
#2C1685 #856316 #378516
monochromatic
#09051C #1B0D50 #2C1685 #3D1FBA #5837DE
Accessibility & contrast
On white
13.46
#2C1685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2C1685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1685
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1685 | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1685; /* rgb */ color: rgb(44, 22, 133); /* oklch */ color: oklch(32.3% 0.168 280.4);
Tailwind
colors: {
custom: {
50: '#7358aa',
500: '#2c1685',
950: '#000000',
},
}SCSS
$custom: #2c1685; $custom-light: #7358aa; $custom-dark: #000000;
JSON
{
"hex": "#2c1685",
"rgb": {
"r": 44,
"g": 22,
"b": 133
},
"hsl": {
"h": 251.892,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.32279,
"c": 0.16838,
"h": 280.4
},
"luminance": 0.02803
}Semantic roles & 50–950 ramp
primary
#2C1685
secondary
#A1B93E
accent
#EE39CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F