#3C239B#3C239B
#3C239B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.180 H 283.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3C239B |
|---|---|
| RGB | rgb(60, 35, 155) |
| HSL | hsl(253, 63%, 37%) |
| HSV | hsv(253, 77%, 61%) |
| CMYK | cmyk(61.3%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(25.35, 44.31, -60.90) |
| CIE-LCH | lch(25.35, 75.31, 306.04°) |
| OKLab | oklab(37.62% 0.0406 -0.1756) |
| OKLCH | oklch(37.62% 0.18 283) |
| XYZ | xyz(8.3791, 4.5287, 31.4366) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Royal
#0C1793
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 5.53
Ultramarine
#2000B1
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C239B #829B23
analogous
#23469B #3C239B #78239B
triadic
#3C239B #9B3C23 #239B3C
tetradic
#3C239B #9B2346 #829B23 #239B78
square
#3C239B #9B2346 #829B23 #239B78
split-complementary
#3C239B #9B7823 #469B23
monochromatic
#150C37 #291869 #3C239B #4F2ECD #785EDB
Accessibility & contrast
On white
11.02
#3C239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3C239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C239B
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C239B | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c239b; /* rgb */ color: rgb(60, 35, 155); /* oklch */ color: oklch(37.6% 0.180 283.0);
Tailwind
colors: {
custom: {
50: '#7e61ba',
500: '#3c239b',
950: '#000000',
},
}SCSS
$custom: #3c239b; $custom-light: #7e61ba; $custom-dark: #000000;
JSON
{
"hex": "#3c239b",
"rgb": {
"r": 60,
"g": 35,
"b": 155
},
"hsl": {
"h": 252.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.37616,
"c": 0.18021,
"h": 283
},
"luminance": 0.04529
}Semantic roles & 50–950 ramp
primary
#3C239B
secondary
#AABF5A
accent
#E642C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981