#3C248F#3C248F
#3C248F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.165 H 285.1°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3C248F |
|---|---|
| RGB | rgb(60, 36, 143) |
| HSL | hsl(253, 60%, 35%) |
| HSV | hsv(253, 75%, 56%) |
| CMYK | cmyk(58%, 74.8%, 0%, 43.9%) |
| CIE-LAB | lab(24.34, 40.12, -55.16) |
| CIE-LCH | lch(24.34, 68.21, 306.03°) |
| OKLab | oklab(36.54% 0.043 -0.1588) |
| OKLCH | oklch(36.54% 0.165 285.1) |
| XYZ | xyz(7.4508, 4.2051, 26.4003) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.73
Indigo
#4B0082
ΔE00 6.35
Cobalt Blue
#030AA7
ΔE00 6.48
Midnight Blue
#191970
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C248F #778F24
analogous
#24418F #3C248F #72248F
triadic
#3C248F #8F3C24 #248F3C
tetradic
#3C248F #8F2441 #778F24 #248F72
square
#3C248F #8F2441 #778F24 #248F72
split-complementary
#3C248F #8F7224 #418F24
monochromatic
#130B2D #27185E #3C248F #5130C0 #7458D5
Accessibility & contrast
On white
11.41
#3C248F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3C248F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C248F
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C248F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C248F | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#124157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c248f; /* rgb */ color: rgb(60, 36, 143); /* oklch */ color: oklch(36.5% 0.165 285.1);
Tailwind
colors: {
custom: {
50: '#7c61b1',
500: '#3c248f',
950: '#000000',
},
}SCSS
$custom: #3c248f; $custom-light: #7c61b1; $custom-dark: #000000;
JSON
{
"hex": "#3c248f",
"rgb": {
"r": 60,
"g": 36,
"b": 143
},
"hsl": {
"h": 253.458,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.36544,
"c": 0.16454,
"h": 285.1
},
"luminance": 0.04206
}Semantic roles & 50–950 ramp
primary
#3C248F
secondary
#A3B955
accent
#E345BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980