#3C2492#3C2492
#3C2492 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.168 H 284.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2492 |
|---|---|
| RGB | rgb(60, 36, 146) |
| HSL | hsl(253, 60%, 36%) |
| HSV | hsv(253, 75%, 57%) |
| CMYK | cmyk(58.9%, 75.3%, 0%, 42.7%) |
| CIE-LAB | lab(24.63, 41.04, -56.54) |
| CIE-LCH | lch(24.63, 69.86, 305.97°) |
| OKLab | oklab(36.84% 0.0423 -0.1628) |
| OKLCH | oklch(36.84% 0.168 284.5) |
| XYZ | xyz(7.6811, 4.2973, 27.6133) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.72
Royal
#0C1793
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 5.86
Cobalt Blue
#030AA7
ΔE00 6.22
Indigo
#4B0082
ΔE00 6.49
Ultramarine
#2000B1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2492 #7A9224
analogous
#244392 #3C2492 #732492
triadic
#3C2492 #923C24 #24923C
tetradic
#3C2492 #922443 #7A9224 #249273
square
#3C2492 #922443 #7A9224 #249273
split-complementary
#3C2492 #927324 #439224
monochromatic
#140C30 #281861 #3C2492 #5030C3 #755AD6
Accessibility & contrast
On white
11.29
#3C2492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3C2492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2492
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2492 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#0D4359
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c2492; /* rgb */ color: rgb(60, 36, 146); /* oklch */ color: oklch(36.8% 0.168 284.5);
Tailwind
colors: {
custom: {
50: '#7c62b3',
500: '#3c2492',
950: '#000000',
},
}SCSS
$custom: #3c2492; $custom-light: #7c62b3; $custom-dark: #000000;
JSON
{
"hex": "#3c2492",
"rgb": {
"r": 60,
"g": 36,
"b": 146
},
"hsl": {
"h": 253.091,
"s": 60.44,
"l": 35.686
},
"oklch": {
"l": 0.3684,
"c": 0.16824,
"h": 284.5
},
"luminance": 0.04298
}Semantic roles & 50–950 ramp
primary
#3C2492
secondary
#A5BB57
accent
#E444C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980