#3C2A8A#3C2A8A
#3C2A8A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.151 H 284.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2A8A |
|---|---|
| RGB | rgb(60, 42, 138) |
| HSL | hsl(251, 53%, 35%) |
| HSV | hsv(251, 70%, 54%) |
| CMYK | cmyk(56.5%, 69.6%, 0%, 45.9%) |
| CIE-LAB | lab(25.11, 35.12, -50.79) |
| CIE-LCH | lch(25.11, 61.75, 304.66°) |
| OKLab | oklab(36.95% 0.0387 -0.146) |
| OKLCH | oklch(36.95% 0.151 284.9) |
| XYZ | xyz(7.2775, 4.4511, 24.5155) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.55
Royal
#0C1793
ΔE00 6.16
Blueberry
#464196
ΔE00 6.56
Midnight Blue
#191970
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 6.60
Indigo (survey)
#380282
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2A8A #788A2A
analogous
#2A488A #3C2A8A #6C2A8A
triadic
#3C2A8A #8A3C2A #2A8A3C
tetradic
#3C2A8A #8A2A48 #788A2A #2A8A6C
square
#3C2A8A #8A2A48 #788A2A #2A8A6C
split-complementary
#3C2A8A #8A6C2A #488A2A
monochromatic
#130D2C #281C5B #3C2A8A #5038B9 #7560CF
Accessibility & contrast
On white
11.11
#3C2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C2A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2A8A
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2A8A | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#194356
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c2a8a; /* rgb */ color: rgb(60, 42, 138); /* oklch */ color: oklch(37.0% 0.151 284.9);
Tailwind
colors: {
custom: {
50: '#7a65ad',
500: '#3c2a8a',
950: '#000000',
},
}SCSS
$custom: #3c2a8a; $custom-light: #7a65ad; $custom-dark: #000000;
JSON
{
"hex": "#3c2a8a",
"rgb": {
"r": 60,
"g": 42,
"b": 138
},
"hsl": {
"h": 251.25,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.36952,
"c": 0.15108,
"h": 284.9
},
"luminance": 0.04452
}Semantic roles & 50–950 ramp
primary
#3C2A8A
secondary
#A4B45B
accent
#DD4BC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F