#2C10A1#2C10A1
#2C10A1 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.1% C 0.204 H 276.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C10A1 |
|---|---|
| RGB | rgb(44, 16, 161) |
| HSL | hsl(252, 82%, 35%) |
| HSV | hsv(252, 90%, 63%) |
| CMYK | cmyk(72.7%, 90.1%, 0%, 36.9%) |
| CIE-LAB | lab(21.87, 52.71, -70.37) |
| CIE-LCH | lch(21.87, 87.92, 306.83°) |
| OKLab | oklab(35.07% 0.0227 -0.2032) |
| OKLCH | oklch(35.07% 0.204 276.4) |
| XYZ | xyz(7.6549, 3.4785, 33.9793) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.26
Ultramarine
#2000B1
ΔE00 2.35
Royal Blue (survey)
#0504AA
ΔE00 2.43
Indigo Blue
#3A18B1
ΔE00 3.03
Royal
#0C1793
ΔE00 3.36
Darkblue
#00008B
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C10A1 #85A110
analogous
#103DA1 #2C10A1 #7410A1
triadic
#2C10A1 #A12C10 #10A12C
tetradic
#2C10A1 #A1103D #85A110 #10A174
square
#2C10A1 #A1103D #85A110 #10A174
split-complementary
#2C10A1 #A17410 #3DA110
monochromatic
#0E0532 #1D0A69 #2C10A1 #3B16D9 #613FEC
Accessibility & contrast
On white
12.38
#2C10A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C10A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C10A1
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C10A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C10A1 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c10a1; /* rgb */ color: rgb(44, 16, 161); /* oklch */ color: oklch(35.1% 0.204 276.4);
Tailwind
colors: {
custom: {
50: '#7a58be',
500: '#2c10a1',
950: '#000000',
},
}SCSS
$custom: #2c10a1; $custom-light: #7a58be; $custom-dark: #000000;
JSON
{
"hex": "#2c10a1",
"rgb": {
"r": 44,
"g": 16,
"b": 161
},
"hsl": {
"h": 251.586,
"s": 81.921,
"l": 34.706
},
"oklch": {
"l": 0.35066,
"c": 0.20449,
"h": 276.4
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#2C10A1
secondary
#B1CC41
accent
#F830D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981