#3C2291#3C2291
#3C2291 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.169 H 285.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2291 |
|---|---|
| RGB | rgb(60, 34, 145) |
| HSL | hsl(254, 62%, 35%) |
| HSV | hsv(254, 77%, 57%) |
| CMYK | cmyk(58.6%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.16, 41.80, -56.70) |
| CIE-LCH | lch(24.16, 70.44, 306.39°) |
| OKLab | oklab(36.48% 0.0441 -0.1633) |
| OKLCH | oklch(36.48% 0.169 285.1) |
| XYZ | xyz(7.5448, 4.1486, 27.1858) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.69
Royal
#0C1793
ΔE00 4.83
Indigo (survey)
#380282
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2291 #779122
analogous
#224091 #3C2291 #732291
triadic
#3C2291 #913C22 #22913C
tetradic
#3C2291 #912240 #779122 #229173
square
#3C2291 #912240 #779122 #229173
split-complementary
#3C2291 #917322 #409122
monochromatic
#130B2E #27165F #3C2291 #512EC3 #7456D7
Accessibility & contrast
On white
11.48
#3C2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2291
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2291 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0F4158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c2291; /* rgb */ color: rgb(60, 34, 145); /* oklch */ color: oklch(36.5% 0.169 285.1);
Tailwind
colors: {
custom: {
50: '#7c60b2',
500: '#3c2291',
950: '#000000',
},
}SCSS
$custom: #3c2291; $custom-light: #7c60b2; $custom-dark: #000000;
JSON
{
"hex": "#3c2291",
"rgb": {
"r": 60,
"g": 34,
"b": 145
},
"hsl": {
"h": 254.054,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.36476,
"c": 0.16914,
"h": 285.1
},
"luminance": 0.04149
}Semantic roles & 50–950 ramp
primary
#3C2291
secondary
#A3BB53
accent
#E543BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980