#3B279F#3B279F
#3B279F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.181 H 281.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3B279F |
|---|---|
| RGB | rgb(59, 39, 159) |
| HSL | hsl(250, 61%, 39%) |
| HSV | hsv(250, 75%, 62%) |
| CMYK | cmyk(62.9%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(26.40, 43.31, -61.61) |
| CIE-LCH | lch(26.40, 75.31, 305.11°) |
| OKLab | oklab(38.46% 0.0354 -0.1777) |
| OKLCH | oklch(38.46% 0.181 281.3) |
| XYZ | xyz(8.7852, 4.8834, 33.2738) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.50
Royal
#0C1793
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 5.96
Royal Blue (survey)
#0504AA
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B279F #8B9F27
analogous
#274F9F #3B279F #77279F
triadic
#3B279F #9F3B27 #279F3B
tetradic
#3B279F #9F274F #8B9F27 #279F77
square
#3B279F #9F274F #8B9F27 #279F77
split-complementary
#3B279F #9F7727 #4F9F27
monochromatic
#170F3D #291B6E #3B279F #4F36CE #7A67DA
Accessibility & contrast
On white
10.62
#3B279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3B279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B279F
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B279F | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3b279f; /* rgb */ color: rgb(59, 39, 159); /* oklch */ color: oklch(38.5% 0.181 281.3);
Tailwind
colors: {
custom: {
50: '#7e64bd',
500: '#3b279f',
950: '#000000',
},
}SCSS
$custom: #3b279f; $custom-light: #7e64bd; $custom-dark: #000000;
JSON
{
"hex": "#3b279f",
"rgb": {
"r": 59,
"g": 39,
"b": 159
},
"hsl": {
"h": 250,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.38455,
"c": 0.18121,
"h": 281.3
},
"luminance": 0.04884
}Semantic roles & 50–950 ramp
primary
#3B279F
secondary
#B0C062
accent
#E444C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81