#3C239F#3C239F
#3C239F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.185 H 282.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3C239F |
|---|---|
| RGB | rgb(60, 35, 159) |
| HSL | hsl(252, 64%, 38%) |
| HSV | hsv(252, 78%, 62%) |
| CMYK | cmyk(62.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(25.76, 45.52, -62.66) |
| CIE-LCH | lch(25.76, 77.45, 305.99°) |
| OKLab | oklab(38.03% 0.0395 -0.1807) |
| OKLCH | oklch(38.03% 0.185 282.3) |
| XYZ | xyz(8.7206, 4.6653, 33.2351) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.93
Royal
#0C1793
ΔE00 5.09
Ultramarine
#2000B1
ΔE00 5.29
Cobalt Blue
#030AA7
ΔE00 5.40
Royal Blue (survey)
#0504AA
ΔE00 5.70
True Blue
#010FCC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C239F #869F23
analogous
#23489F #3C239F #7A239F
triadic
#3C239F #9F3C23 #239F3C
tetradic
#3C239F #9F2348 #869F23 #239F7A
square
#3C239F #9F2348 #869F23 #239F7A
split-complementary
#3C239F #9F7A23 #489F23
monochromatic
#160D3B #29186D #3C239F #4F2ED1 #7960DC
Accessibility & contrast
On white
10.86
#3C239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3C239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C239F
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C239F | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3c239f; /* rgb */ color: rgb(60, 35, 159); /* oklch */ color: oklch(38.0% 0.185 282.3);
Tailwind
colors: {
custom: {
50: '#7f62bd',
500: '#3c239f',
950: '#000000',
},
}SCSS
$custom: #3c239f; $custom-light: #7f62bd; $custom-dark: #000000;
JSON
{
"hex": "#3c239f",
"rgb": {
"r": 60,
"g": 35,
"b": 159
},
"hsl": {
"h": 252.097,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38028,
"c": 0.18499,
"h": 282.3
},
"luminance": 0.04666
}Semantic roles & 50–950 ramp
primary
#3C239F
secondary
#ADC15D
accent
#E741C5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981