#3C189F#3C189F
#3C189F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 283.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3C189F |
|---|---|
| RGB | rgb(60, 24, 159) |
| HSL | hsl(256, 74%, 36%) |
| HSV | hsv(256, 85%, 62%) |
| CMYK | cmyk(62.3%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(24.05, 50.48, -65.48) |
| CIE-LCH | lch(24.05, 82.68, 307.63°) |
| OKLab | oklab(36.85% 0.0457 -0.1888) |
| OKLCH | oklch(36.85% 0.194 283.6) |
| XYZ | xyz(8.4462, 4.1165, 33.1437) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.43
Ultramarine
#2000B1
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.28
Royal Blue (survey)
#0504AA
ΔE00 4.44
Royal
#0C1793
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C189F #7B9F18
analogous
#18379F #3C189F #7F189F
triadic
#3C189F #9F3C18 #189F3C
tetradic
#3C189F #9F1837 #7B9F18 #189F7F
square
#3C189F #9F1837 #7B9F18 #189F7F
split-complementary
#3C189F #9F7F18 #379F18
monochromatic
#140835 #28106A #3C189F #5020D4 #754DE4
Accessibility & contrast
On white
11.52
#3C189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3C189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C189F
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C189F | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c189f; /* rgb */ color: rgb(60, 24, 159); /* oklch */ color: oklch(36.8% 0.194 283.6);
Tailwind
colors: {
custom: {
50: '#805cbd',
500: '#3c189f',
950: '#000000',
},
}SCSS
$custom: #3c189f; $custom-light: #805cbd; $custom-dark: #000000;
JSON
{
"hex": "#3c189f",
"rgb": {
"r": 60,
"g": 24,
"b": 159
},
"hsl": {
"h": 256,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.36846,
"c": 0.19425,
"h": 283.6
},
"luminance": 0.04117
}Semantic roles & 50–950 ramp
primary
#3C189F
secondary
#A6C64D
accent
#F037BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981