#2C1A85#2C1A85
#2C1A85 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.165 H 279.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1A85 |
|---|---|
| RGB | rgb(44, 26, 133) |
| HSL | hsl(250, 67%, 31%) |
| HSV | hsv(250, 80%, 52%) |
| CMYK | cmyk(66.9%, 80.5%, 0%, 47.8%) |
| CIE-LAB | lab(19.91, 40.23, -56.26) |
| CIE-LCH | lch(19.91, 69.16, 305.57°) |
| OKLab | oklab(32.75% 0.0282 -0.1624) |
| OKLCH | oklch(32.75% 0.165 279.8) |
| XYZ | xyz(5.6404, 2.9673, 22.4613) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.17
Indigo (survey)
#380282
ΔE00 4.02
Midnight Blue
#191970
ΔE00 4.03
Darkblue
#00008B
ΔE00 4.93
Navy
#000080
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1A85 #73851A
analogous
#1A3D85 #2C1A85 #611A85
triadic
#2C1A85 #852C1A #1A852C
tetradic
#2C1A85 #851A3D #73851A #1A8561
square
#2C1A85 #851A3D #73851A #1A8561
split-complementary
#2C1A85 #85611A #3D851A
monochromatic
#0A061F #1B1052 #2C1A85 #3D24B8 #5A40DA
Accessibility & contrast
On white
13.18
#2C1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2C1A85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1A85
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1A85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1A85 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1a85; /* rgb */ color: rgb(44, 26, 133); /* oklch */ color: oklch(32.8% 0.165 279.8);
Tailwind
colors: {
custom: {
50: '#735aaa',
500: '#2c1a85',
950: '#000000',
},
}SCSS
$custom: #2c1a85; $custom-light: #735aaa; $custom-dark: #000000;
JSON
{
"hex": "#2c1a85",
"rgb": {
"r": 44,
"g": 26,
"b": 133
},
"hsl": {
"h": 250.093,
"s": 67.296,
"l": 31.176
},
"oklch": {
"l": 0.3275,
"c": 0.16484,
"h": 279.8
},
"luminance": 0.02968
}Semantic roles & 50–950 ramp
primary
#2C1A85
secondary
#A5B842
accent
#EA3ECD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F