#3C299A#3C299A
#3C299A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.173 H 282.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3C299A |
|---|---|
| RGB | rgb(60, 41, 154) |
| HSL | hsl(250, 58%, 38%) |
| HSV | hsv(250, 73%, 60%) |
| CMYK | cmyk(61%, 73.4%, 0%, 39.6%) |
| CIE-LAB | lab(26.39, 40.78, -58.58) |
| CIE-LCH | lch(26.39, 71.37, 304.85°) |
| OKLab | oklab(38.32% 0.0366 -0.1688) |
| OKLCH | oklch(38.32% 0.173 282.2) |
| XYZ | xyz(8.4873, 4.8790, 31.0601) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Royal
#0C1793
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.59
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C299A #879A29
analogous
#294F9A #3C299A #74299A
triadic
#3C299A #9A3C29 #299A3C
tetradic
#3C299A #9A294F #879A29 #299A74
square
#3C299A #9A294F #879A29 #299A74
split-complementary
#3C299A #9A7429 #4F9A29
monochromatic
#160F39 #291C6A #3C299A #4F37CA #7A67D7
Accessibility & contrast
On white
10.63
#3C299A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3C299A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C299A
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C299A | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c299a; /* rgb */ color: rgb(60, 41, 154); /* oklch */ color: oklch(38.3% 0.173 282.2);
Tailwind
colors: {
custom: {
50: '#7d65b9',
500: '#3c299a',
950: '#000000',
},
}SCSS
$custom: #3c299a; $custom-light: #7d65b9; $custom-dark: #000000;
JSON
{
"hex": "#3c299a",
"rgb": {
"r": 60,
"g": 41,
"b": 154
},
"hsl": {
"h": 250.088,
"s": 57.949,
"l": 38.235
},
"oklch": {
"l": 0.3832,
"c": 0.17274,
"h": 282.2
},
"luminance": 0.0488
}Semantic roles & 50–950 ramp
primary
#3C299A
secondary
#ADBD62
accent
#E147C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81