#3C1992#3C1992
#3C1992 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.179 H 286.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1992 |
|---|---|
| RGB | rgb(60, 25, 146) |
| HSL | hsl(257, 71%, 34%) |
| HSV | hsv(257, 83%, 57%) |
| CMYK | cmyk(58.9%, 82.9%, 0%, 42.7%) |
| CIE-LAB | lab(22.76, 46.41, -59.62) |
| CIE-LCH | lch(22.76, 75.56, 307.90°) |
| OKLab | oklab(35.53% 0.0499 -0.1717) |
| OKLCH | oklch(35.53% 0.179 286.2) |
| XYZ | xyz(7.3979, 3.7308, 27.5189) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.28
Royal
#0C1793
ΔE00 4.45
Indigo
#4B0082
ΔE00 4.81
Cobalt Blue
#030AA7
ΔE00 5.09
Ultramarine
#2000B1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1992 #6F9219
analogous
#193392 #3C1992 #781992
triadic
#3C1992 #923C19 #19923C
tetradic
#3C1992 #921933 #6F9219 #199278
square
#3C1992 #921933 #6F9219 #199278
split-complementary
#3C1992 #927819 #339219
monochromatic
#110729 #27105E #3C1992 #5122C6 #7246DF
Accessibility & contrast
On white
12.03
#3C1992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3C1992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1992
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1992 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#0F3E57
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1992; /* rgb */ color: rgb(60, 25, 146); /* oklch */ color: oklch(35.5% 0.179 286.2);
Tailwind
colors: {
custom: {
50: '#7d5cb3',
500: '#3c1992',
950: '#000000',
},
}SCSS
$custom: #3c1992; $custom-light: #7d5cb3; $custom-dark: #000000;
JSON
{
"hex": "#3c1992",
"rgb": {
"r": 60,
"g": 25,
"b": 146
},
"hsl": {
"h": 257.355,
"s": 70.76,
"l": 33.529
},
"oklch": {
"l": 0.35534,
"c": 0.17883,
"h": 286.2
},
"luminance": 0.03731
}Semantic roles & 50–950 ramp
primary
#3C1992
secondary
#9DC146
accent
#EE3ABA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980