#3F279C#3F279C
#3F279C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.177 H 283.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3F279C |
|---|---|
| RGB | rgb(63, 39, 156) |
| HSL | hsl(252, 60%, 38%) |
| HSV | hsv(252, 75%, 61%) |
| CMYK | cmyk(59.6%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(26.47, 42.92, -59.65) |
| CIE-LCH | lch(26.47, 73.49, 305.73°) |
| OKLab | oklab(38.51% 0.042 -0.1719) |
| OKLCH | oklch(38.51% 0.177 283.7) |
| XYZ | xyz(8.7743, 4.9075, 31.9309) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.82
Royal
#0C1793
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 6.30
Cobalt Blue
#030AA7
ΔE00 6.35
Sapphire (survey)
#2138AB
ΔE00 6.42
Royal Blue (survey)
#0504AA
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F279C #849C27
analogous
#27499C #3F279C #79279C
triadic
#3F279C #9C3F27 #279C3F
tetradic
#3F279C #9C2749 #849C27 #279C79
square
#3F279C #9C2749 #849C27 #279C79
split-complementary
#3F279C #9C7927 #499C27
monochromatic
#170F3A #2B1B6B #3F279C #5334CC #7D65D8
Accessibility & contrast
On white
10.60
#3F279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3F279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F279C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F279C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#05485F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f279c; /* rgb */ color: rgb(63, 39, 156); /* oklch */ color: oklch(38.5% 0.177 283.7);
Tailwind
colors: {
custom: {
50: '#7f64ba',
500: '#3f279c',
950: '#000000',
},
}SCSS
$custom: #3f279c; $custom-light: #7f64ba; $custom-dark: #000000;
JSON
{
"hex": "#3f279c",
"rgb": {
"r": 63,
"g": 39,
"b": 156
},
"hsl": {
"h": 252.308,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.38505,
"c": 0.17693,
"h": 283.7
},
"luminance": 0.04908
}Semantic roles & 50–950 ramp
primary
#3F279C
secondary
#ABBE61
accent
#E345C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81