#3C1C9F#3C1C9F
#3C1C9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.191 H 283.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C9F |
|---|---|
| RGB | rgb(60, 28, 159) |
| HSL | hsl(255, 70%, 37%) |
| HSV | hsv(255, 82%, 62%) |
| CMYK | cmyk(62.3%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(24.62, 48.81, -64.54) |
| CIE-LCH | lch(24.62, 80.92, 307.10°) |
| OKLab | oklab(37.24% 0.0437 -0.1861) |
| OKLCH | oklch(37.24% 0.191 283.2) |
| XYZ | xyz(8.5348, 4.2938, 33.1732) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.43
Ultramarine
#2000B1
ΔE00 4.31
Cobalt Blue
#030AA7
ΔE00 4.59
Royal
#0C1793
ΔE00 4.71
Royal Blue (survey)
#0504AA
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C9F #7F9F1C
analogous
#1C3E9F #3C1C9F #7D1C9F
triadic
#3C1C9F #9F3C1C #1C9F3C
tetradic
#3C1C9F #9F1C3E #7F9F1C #1C9F7D
square
#3C1C9F #9F1C3E #7F9F1C #1C9F7D
split-complementary
#3C1C9F #9F7D1C #3E9F1C
monochromatic
#150A37 #28136B #3C1C9F #5025D3 #7754E1
Accessibility & contrast
On white
11.30
#3C1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3C1C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C9F
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C9F | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c1c9f; /* rgb */ color: rgb(60, 28, 159); /* oklch */ color: oklch(37.2% 0.191 283.2);
Tailwind
colors: {
custom: {
50: '#7f5ebd',
500: '#3c1c9f',
950: '#000000',
},
}SCSS
$custom: #3c1c9f; $custom-light: #7f5ebd; $custom-dark: #000000;
JSON
{
"hex": "#3c1c9f",
"rgb": {
"r": 60,
"g": 28,
"b": 159
},
"hsl": {
"h": 254.656,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.37236,
"c": 0.19117,
"h": 283.2
},
"luminance": 0.04294
}Semantic roles & 50–950 ramp
primary
#3C1C9F
secondary
#A8C453
accent
#ED3BC1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981