#3C2392#3C2392
#3C2392 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.169 H 284.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2392 |
|---|---|
| RGB | rgb(60, 35, 146) |
| HSL | hsl(254, 61%, 35%) |
| HSV | hsv(254, 76%, 57%) |
| CMYK | cmyk(58.9%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(24.44, 41.57, -56.85) |
| CIE-LCH | lch(24.44, 70.43, 306.18°) |
| OKLab | oklab(36.71% 0.043 -0.1637) |
| OKLCH | oklch(36.71% 0.169 284.7) |
| XYZ | xyz(7.6512, 4.2376, 27.6033) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2392 #799223
analogous
#234192 #3C2392 #742392
triadic
#3C2392 #923C23 #23923C
tetradic
#3C2392 #922341 #799223 #239274
square
#3C2392 #922341 #799223 #239274
split-complementary
#3C2392 #927423 #419223
monochromatic
#130B2F #281761 #3C2392 #502FC3 #7558D7
Accessibility & contrast
On white
11.37
#3C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3C2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2392
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2392 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#0D4259
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c2392; /* rgb */ color: rgb(60, 35, 146); /* oklch */ color: oklch(36.7% 0.169 284.7);
Tailwind
colors: {
custom: {
50: '#7c61b3',
500: '#3c2392',
950: '#000000',
},
}SCSS
$custom: #3c2392; $custom-light: #7c61b3; $custom-dark: #000000;
JSON
{
"hex": "#3c2392",
"rgb": {
"r": 60,
"g": 35,
"b": 146
},
"hsl": {
"h": 253.514,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.36706,
"c": 0.16931,
"h": 284.7
},
"luminance": 0.04238
}Semantic roles & 50–950 ramp
primary
#3C2392
secondary
#A4BB55
accent
#E443C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980