#3C248E#3C248E
#3C248E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.163 H 285.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3C248E |
|---|---|
| RGB | rgb(60, 36, 142) |
| HSL | hsl(254, 60%, 35%) |
| HSV | hsv(254, 75%, 56%) |
| CMYK | cmyk(57.7%, 74.6%, 0%, 44.3%) |
| CIE-LAB | lab(24.24, 39.81, -54.70) |
| CIE-LCH | lch(24.24, 67.65, 306.04°) |
| OKLab | oklab(36.45% 0.0432 -0.1575) |
| OKLCH | oklch(36.45% 0.163 285.4) |
| XYZ | xyz(7.3754, 4.1750, 26.0032) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.12
Indigo Blue
#3A18B1
ΔE00 5.30
Indigo (survey)
#380282
ΔE00 5.69
Indigo
#4B0082
ΔE00 6.31
Midnight Blue
#191970
ΔE00 6.50
Cobalt Blue
#030AA7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C248E #768E24
analogous
#24418E #3C248E #71248E
triadic
#3C248E #8E3C24 #248E3C
tetradic
#3C248E #8E2441 #768E24 #248E71
square
#3C248E #8E2441 #768E24 #248E71
split-complementary
#3C248E #8E7124 #418E24
monochromatic
#130B2C #27185D #3C248E #5130BF #7458D5
Accessibility & contrast
On white
11.44
#3C248E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3C248E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C248E
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C248E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C248E | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#144157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c248e; /* rgb */ color: rgb(60, 36, 142); /* oklch */ color: oklch(36.4% 0.163 285.4);
Tailwind
colors: {
custom: {
50: '#7b61b0',
500: '#3c248e',
950: '#000000',
},
}SCSS
$custom: #3c248e; $custom-light: #7b61b0; $custom-dark: #000000;
JSON
{
"hex": "#3c248e",
"rgb": {
"r": 60,
"g": 36,
"b": 142
},
"hsl": {
"h": 253.585,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.36446,
"c": 0.1633,
"h": 285.4
},
"luminance": 0.04175
}Semantic roles & 50–950 ramp
primary
#3C248E
secondary
#A2B955
accent
#E345BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980