#3C279C#3C279C
#3C279C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.177 H 282.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3C279C |
|---|---|
| RGB | rgb(60, 39, 156) |
| HSL | hsl(251, 60%, 38%) |
| HSV | hsv(251, 75%, 61%) |
| CMYK | cmyk(61.5%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(26.19, 42.51, -60.12) |
| CIE-LCH | lch(26.19, 73.63, 305.26°) |
| OKLab | oklab(38.24% 0.0376 -0.1733) |
| OKLCH | oklch(38.24% 0.177 282.2) |
| XYZ | xyz(8.5879, 4.8114, 31.9222) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Royal
#0C1793
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 6.12
Sapphire (survey)
#2138AB
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C279C #879C27
analogous
#274C9C #3C279C #76279C
triadic
#3C279C #9C3C27 #279C3C
tetradic
#3C279C #9C274C #879C27 #279C76
square
#3C279C #9C274C #879C27 #279C76
split-complementary
#3C279C #9C7627 #4C9C27
monochromatic
#160F3A #291B6B #3C279C #4F34CC #7A65D8
Accessibility & contrast
On white
10.70
#3C279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3C279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C279C
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C279C | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c279c; /* rgb */ color: rgb(60, 39, 156); /* oklch */ color: oklch(38.2% 0.177 282.2);
Tailwind
colors: {
custom: {
50: '#7e64ba',
500: '#3c279c',
950: '#000000',
},
}SCSS
$custom: #3c279c; $custom-light: #7e64ba; $custom-dark: #000000;
JSON
{
"hex": "#3c279c",
"rgb": {
"r": 60,
"g": 39,
"b": 156
},
"hsl": {
"h": 250.769,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.3824,
"c": 0.17737,
"h": 282.2
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#3C279C
secondary
#ADBE61
accent
#E345C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81