#3C249F#3C249F
#3C249F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.184 H 282.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C249F |
|---|---|
| RGB | rgb(60, 36, 159) |
| HSL | hsl(252, 63%, 38%) |
| HSV | hsv(252, 77%, 62%) |
| CMYK | cmyk(62.3%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(25.94, 45.01, -62.37) |
| CIE-LCH | lch(25.94, 76.92, 305.82°) |
| OKLab | oklab(38.15% 0.0389 -0.1799) |
| OKLCH | oklch(38.15% 0.184 282.2) |
| XYZ | xyz(8.7504, 4.7250, 33.2451) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.05
Royal
#0C1793
ΔE00 5.17
Ultramarine
#2000B1
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 5.86
True Blue
#010FCC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C249F #879F24
analogous
#244A9F #3C249F #79249F
triadic
#3C249F #9F3C24 #249F3C
tetradic
#3C249F #9F244A #879F24 #249F79
square
#3C249F #9F244A #879F24 #249F79
split-complementary
#3C249F #9F7924 #4A9F24
monochromatic
#160D3B #29196D #3C249F #4F30D0 #7A62DB
Accessibility & contrast
On white
10.80
#3C249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#3C249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C249F
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C249F | 1.00 | 10.80 | 1.95 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3c249f; /* rgb */ color: rgb(60, 36, 159); /* oklch */ color: oklch(38.2% 0.184 282.2);
Tailwind
colors: {
custom: {
50: '#7f62bd',
500: '#3c249f',
950: '#000000',
},
}SCSS
$custom: #3c249f; $custom-light: #7f62bd; $custom-dark: #000000;
JSON
{
"hex": "#3c249f",
"rgb": {
"r": 60,
"g": 36,
"b": 159
},
"hsl": {
"h": 251.707,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.38152,
"c": 0.18403,
"h": 282.2
},
"luminance": 0.04726
}Semantic roles & 50–950 ramp
primary
#3C249F
secondary
#ADC15E
accent
#E642C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81