#3C299B#3C299B
#3C299B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.174 H 282.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3C299B |
|---|---|
| RGB | rgb(60, 41, 155) |
| HSL | hsl(250, 58%, 38%) |
| HSV | hsv(250, 74%, 61%) |
| CMYK | cmyk(61.3%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(26.48, 41.10, -59.03) |
| CIE-LCH | lch(26.48, 71.92, 304.85°) |
| OKLab | oklab(38.42% 0.0363 -0.1701) |
| OKLCH | oklch(38.42% 0.174 282.1) |
| XYZ | xyz(8.5710, 4.9125, 31.5005) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Royal
#0C1793
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 5.85
Cobalt Blue
#030AA7
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C299B #889B29
analogous
#294F9B #3C299B #75299B
triadic
#3C299B #9B3C29 #299B3C
tetradic
#3C299B #9B294F #889B29 #299B75
square
#3C299B #9B294F #889B29 #299B75
split-complementary
#3C299B #9B7529 #4F9B29
monochromatic
#170F3A #291C6B #3C299B #5037CA #7A67D7
Accessibility & contrast
On white
10.59
#3C299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3C299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C299B
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C299B | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3c299b; /* rgb */ color: rgb(60, 41, 155); /* oklch */ color: oklch(38.4% 0.174 282.1);
Tailwind
colors: {
custom: {
50: '#7d65ba',
500: '#3c299b',
950: '#000000',
},
}SCSS
$custom: #3c299b; $custom-light: #7d65ba; $custom-dark: #000000;
JSON
{
"hex": "#3c299b",
"rgb": {
"r": 60,
"g": 41,
"b": 155
},
"hsl": {
"h": 250,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.38418,
"c": 0.17399,
"h": 282.1
},
"luminance": 0.04913
}Semantic roles & 50–950 ramp
primary
#3C299B
secondary
#AEBD63
accent
#E146C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81