#2C1890#2C1890
#2C1890 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.180 H 278.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1890 |
|---|---|
| RGB | rgb(44, 24, 144) |
| HSL | hsl(250, 71%, 33%) |
| HSV | hsv(250, 83%, 56%) |
| CMYK | cmyk(69.4%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(20.83, 44.62, -61.61) |
| CIE-LCH | lch(20.83, 76.08, 305.91°) |
| OKLab | oklab(33.76% 0.0259 -0.178) |
| OKLCH | oklch(33.76% 0.18 278.3) |
| XYZ | xyz(6.3978, 3.2018, 26.6610) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.42
Cobalt Blue
#030AA7
ΔE00 3.93
Indigo (survey)
#380282
ΔE00 4.10
Royal Blue (survey)
#0504AA
ΔE00 4.36
Darkblue
#00008B
ΔE00 4.54
Ultramarine
#2000B1
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1890 #7C9018
analogous
#184090 #2C1890 #681890
triadic
#2C1890 #902C18 #18902C
tetradic
#2C1890 #901840 #7C9018 #189068
square
#2C1890 #901840 #7C9018 #189068
split-complementary
#2C1890 #906818 #409018
monochromatic
#0C0727 #1C0F5C #2C1890 #3C21C4 #5D43E0
Accessibility & contrast
On white
12.80
#2C1890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2C1890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1890
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1890 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1890; /* rgb */ color: rgb(44, 24, 144); /* oklch */ color: oklch(33.8% 0.180 278.3);
Tailwind
colors: {
custom: {
50: '#755ab2',
500: '#2c1890',
950: '#000000',
},
}SCSS
$custom: #2c1890; $custom-light: #755ab2; $custom-dark: #000000;
JSON
{
"hex": "#2c1890",
"rgb": {
"r": 44,
"g": 24,
"b": 144
},
"hsl": {
"h": 250,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.3376,
"c": 0.17984,
"h": 278.3
},
"luminance": 0.03202
}Semantic roles & 50–950 ramp
primary
#2C1890
secondary
#ACC043
accent
#EE3AD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980