#3C2398#3C2398
#3C2398 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.177 H 283.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2398 |
|---|---|
| RGB | rgb(60, 35, 152) |
| HSL | hsl(253, 63%, 37%) |
| HSV | hsv(253, 77%, 60%) |
| CMYK | cmyk(60.5%, 77%, 0%, 40.4%) |
| CIE-LAB | lab(25.04, 43.40, -59.56) |
| CIE-LCH | lch(25.04, 73.70, 306.08°) |
| OKLab | oklab(37.31% 0.0415 -0.1717) |
| OKLCH | oklch(37.31% 0.177 283.6) |
| XYZ | xyz(8.1303, 4.4292, 30.1262) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.80
Royal
#0C1793
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.79
Royal Blue (survey)
#0504AA
ΔE00 6.02
Indigo (survey)
#380282
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2398 #7F9823
analogous
#234498 #3C2398 #772398
triadic
#3C2398 #983C23 #23983C
tetradic
#3C2398 #982344 #7F9823 #239877
square
#3C2398 #982344 #7F9823 #239877
split-complementary
#3C2398 #987723 #449823
monochromatic
#150C35 #281866 #3C2398 #502ECA #775CD9
Accessibility & contrast
On white
11.13
#3C2398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C2398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2398
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2398 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c2398; /* rgb */ color: rgb(60, 35, 152); /* oklch */ color: oklch(37.3% 0.177 283.6);
Tailwind
colors: {
custom: {
50: '#7d61b7',
500: '#3c2398',
950: '#000000',
},
}SCSS
$custom: #3c2398; $custom-light: #7d61b7; $custom-dark: #000000;
JSON
{
"hex": "#3c2398",
"rgb": {
"r": 60,
"g": 35,
"b": 152
},
"hsl": {
"h": 252.821,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.3731,
"c": 0.1766,
"h": 283.6
},
"luminance": 0.0443
}Semantic roles & 50–950 ramp
primary
#3C2398
secondary
#A8BE59
accent
#E642C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980