#3C239C#3C239C
#3C239C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.181 H 282.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3C239C |
|---|---|
| RGB | rgb(60, 35, 156) |
| HSL | hsl(252, 63%, 37%) |
| HSV | hsv(252, 78%, 61%) |
| CMYK | cmyk(61.5%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(25.45, 44.61, -61.34) |
| CIE-LCH | lch(25.45, 75.85, 306.03°) |
| OKLab | oklab(37.72% 0.0404 -0.1769) |
| OKLCH | oklch(37.72% 0.181 282.9) |
| XYZ | xyz(8.4634, 4.5624, 31.8807) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 4.97
Ultramarine
#2000B1
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.49
Royal Blue (survey)
#0504AA
ΔE00 5.82
Indigo (survey)
#380282
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C239C #839C23
analogous
#23469C #3C239C #79239C
triadic
#3C239C #9C3C23 #239C3C
tetradic
#3C239C #9C2346 #839C23 #239C79
square
#3C239C #9C2346 #839C23 #239C79
split-complementary
#3C239C #9C7923 #469C23
monochromatic
#160D38 #29186A #3C239C #4F2ECE #785EDB
Accessibility & contrast
On white
10.98
#3C239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3C239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C239C
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C239C | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c239c; /* rgb */ color: rgb(60, 35, 156); /* oklch */ color: oklch(37.7% 0.181 282.9);
Tailwind
colors: {
custom: {
50: '#7e61ba',
500: '#3c239c',
950: '#000000',
},
}SCSS
$custom: #3c239c; $custom-light: #7e61ba; $custom-dark: #000000;
JSON
{
"hex": "#3c239c",
"rgb": {
"r": 60,
"g": 35,
"b": 156
},
"hsl": {
"h": 252.397,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.37719,
"c": 0.18142,
"h": 282.9
},
"luminance": 0.04563
}Semantic roles & 50–950 ramp
primary
#3C239C
secondary
#ABC05B
accent
#E641C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981