#2C1988#2C1988
#2C1988 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.169 H 279.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1988 |
|---|---|
| RGB | rgb(44, 25, 136) |
| HSL | hsl(250, 69%, 32%) |
| HSV | hsv(250, 82%, 53%) |
| CMYK | cmyk(67.6%, 81.6%, 0%, 46.7%) |
| CIE-LAB | lab(20.08, 41.68, -57.87) |
| CIE-LCH | lch(20.08, 71.32, 305.76°) |
| OKLab | oklab(32.96% 0.0279 -0.1671) |
| OKLCH | oklch(32.96% 0.169 279.5) |
| XYZ | xyz(5.8289, 3.0078, 23.5612) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 2.87
Indigo (survey)
#380282
ΔE00 3.88
Midnight Blue
#191970
ΔE00 4.45
Darkblue
#00008B
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 4.96
Navy
#000080
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1988 #758819
analogous
#193E88 #2C1988 #641988
triadic
#2C1988 #882C19 #19882C
tetradic
#2C1988 #88193E #758819 #198864
square
#2C1988 #88193E #758819 #198864
split-complementary
#2C1988 #886419 #3E8819
monochromatic
#0B0621 #1B0F54 #2C1988 #3D23BC #5A40DC
Accessibility & contrast
On white
13.11
#2C1988 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2C1988 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1988
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1988 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1988 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1988; /* rgb */ color: rgb(44, 25, 136); /* oklch */ color: oklch(33.0% 0.169 279.5);
Tailwind
colors: {
custom: {
50: '#735aac',
500: '#2c1988',
950: '#000000',
},
}SCSS
$custom: #2c1988; $custom-light: #735aac; $custom-dark: #000000;
JSON
{
"hex": "#2c1988",
"rgb": {
"r": 44,
"g": 25,
"b": 136
},
"hsl": {
"h": 250.27,
"s": 68.944,
"l": 31.569
},
"oklch": {
"l": 0.32963,
"c": 0.16941,
"h": 279.5
},
"luminance": 0.03008
}Semantic roles & 50–950 ramp
primary
#2C1988
secondary
#A7BB41
accent
#EC3CCE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F