#2C13A1#2C13A1
#2C13A1 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.3% C 0.203 H 276.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C13A1 |
|---|---|
| RGB | rgb(44, 19, 161) |
| HSL | hsl(251, 79%, 35%) |
| HSV | hsv(251, 88%, 63%) |
| CMYK | cmyk(72.7%, 88.2%, 0%, 36.9%) |
| CIE-LAB | lab(22.21, 51.68, -69.80) |
| CIE-LCH | lch(22.21, 86.85, 306.51°) |
| OKLab | oklab(35.3% 0.022 -0.2016) |
| OKLCH | oklch(35.3% 0.203 276.2) |
| XYZ | xyz(7.7025, 3.5737, 33.9952) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.39
Ultramarine
#2000B1
ΔE00 2.56
Royal Blue (survey)
#0504AA
ΔE00 2.63
Indigo Blue
#3A18B1
ΔE00 2.88
Royal
#0C1793
ΔE00 3.26
Darkblue
#00008B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C13A1 #88A113
analogous
#1341A1 #2C13A1 #7313A1
triadic
#2C13A1 #A12C13 #13A12C
tetradic
#2C13A1 #A11341 #88A113 #13A173
square
#2C13A1 #A11341 #88A113 #13A173
split-complementary
#2C13A1 #A17313 #41A113
monochromatic
#0E0634 #1D0D6A #2C13A1 #3B19D8 #6245E9
Accessibility & contrast
On white
12.25
#2C13A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2C13A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C13A1
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C13A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C13A1 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c13a1; /* rgb */ color: rgb(44, 19, 161); /* oklch */ color: oklch(35.3% 0.203 276.2);
Tailwind
colors: {
custom: {
50: '#7959be',
500: '#2c13a1',
950: '#000000',
},
}SCSS
$custom: #2c13a1; $custom-light: #7959be; $custom-dark: #000000;
JSON
{
"hex": "#2c13a1",
"rgb": {
"r": 44,
"g": 19,
"b": 161
},
"hsl": {
"h": 250.563,
"s": 78.889,
"l": 35.294
},
"oklch": {
"l": 0.35298,
"c": 0.20283,
"h": 276.2
},
"luminance": 0.03574
}Semantic roles & 50–950 ramp
primary
#2C13A1
secondary
#B3CA46
accent
#F532D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981