#3C279F#3C279F
#3C279F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.181 H 281.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3C279F |
|---|---|
| RGB | rgb(60, 39, 159) |
| HSL | hsl(251, 61%, 39%) |
| HSV | hsv(251, 75%, 62%) |
| CMYK | cmyk(62.3%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(26.49, 43.44, -61.46) |
| CIE-LCH | lch(26.49, 75.26, 305.25°) |
| OKLab | oklab(38.54% 0.0369 -0.1772) |
| OKLCH | oklch(38.54% 0.181 281.7) |
| XYZ | xyz(8.8450, 4.9143, 33.2766) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.49
Royal
#0C1793
ΔE00 5.49
Ultramarine
#2000B1
ΔE00 6.00
Sapphire (survey)
#2138AB
ΔE00 6.02
Cobalt Blue
#030AA7
ΔE00 6.03
Royal Blue (survey)
#0504AA
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C279F #8A9F27
analogous
#274E9F #3C279F #78279F
triadic
#3C279F #9F3C27 #279F3C
tetradic
#3C279F #9F274E #8A9F27 #279F78
square
#3C279F #9F274E #8A9F27 #279F78
split-complementary
#3C279F #9F7827 #4E9F27
monochromatic
#170F3D #291B6E #3C279F #5036CE #7B67DA
Accessibility & contrast
On white
10.59
#3C279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3C279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C279F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C279F | 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)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3c279f; /* rgb */ color: rgb(60, 39, 159); /* oklch */ color: oklch(38.5% 0.181 281.7);
Tailwind
colors: {
custom: {
50: '#7e64bd',
500: '#3c279f',
950: '#000000',
},
}SCSS
$custom: #3c279f; $custom-light: #7e64bd; $custom-dark: #000000;
JSON
{
"hex": "#3c279f",
"rgb": {
"r": 60,
"g": 39,
"b": 159
},
"hsl": {
"h": 250.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.3854,
"c": 0.18104,
"h": 281.7
},
"luminance": 0.04915
}Semantic roles & 50–950 ramp
primary
#3C279F
secondary
#AFC062
accent
#E444C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81