#3C2C8C#3C2C8C
#3C2C8C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.151 H 284.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2C8C |
|---|---|
| RGB | rgb(60, 44, 140) |
| HSL | hsl(250, 52%, 36%) |
| HSV | hsv(250, 69%, 55%) |
| CMYK | cmyk(57.1%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.73, 34.56, -51.03) |
| CIE-LCH | lch(25.73, 61.63, 304.11°) |
| OKLab | oklab(37.45% 0.0365 -0.1467) |
| OKLCH | oklch(37.45% 0.151 284) |
| XYZ | xyz(7.4963, 4.6550, 25.3094) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.12
Blueberry
#464196
ΔE00 6.01
Royal
#0C1793
ΔE00 6.39
Sapphire (survey)
#2138AB
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.63
Midnight Blue
#191970
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2C8C #7C8C2C
analogous
#2C4C8C #3C2C8C #6C2C8C
triadic
#3C2C8C #8C3C2C #2C8C3C
tetradic
#3C2C8C #8C2C4C #7C8C2C #2C8C6C
square
#3C2C8C #8C2C4C #7C8C2C #2C8C6C
split-complementary
#3C2C8C #8C6C2C #4C8C2C
monochromatic
#140F2F #281D5D #3C2C8C #503BBB #7664CE
Accessibility & contrast
On white
10.88
#3C2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3C2C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2C8C
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2C8C | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#164458
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3c2c8c; /* rgb */ color: rgb(60, 44, 140); /* oklch */ color: oklch(37.5% 0.151 284.0);
Tailwind
colors: {
custom: {
50: '#7a66ae',
500: '#3c2c8c',
950: '#000000',
},
}SCSS
$custom: #3c2c8c; $custom-light: #7a66ae; $custom-dark: #000000;
JSON
{
"hex": "#3c2c8c",
"rgb": {
"r": 60,
"g": 44,
"b": 140
},
"hsl": {
"h": 250,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.37452,
"c": 0.15119,
"h": 284
},
"luminance": 0.04655
}Semantic roles & 50–950 ramp
primary
#3C2C8C
secondary
#A6B55F
accent
#DC4CC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F