#3E279F#3E279F
#3E279F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.181 H 282.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3E279F |
|---|---|
| RGB | rgb(62, 39, 159) |
| HSL | hsl(252, 61%, 39%) |
| HSV | hsv(252, 75%, 62%) |
| CMYK | cmyk(61%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(26.67, 43.70, -61.15) |
| CIE-LCH | lch(26.67, 75.16, 305.55°) |
| OKLab | oklab(38.71% 0.0398 -0.1763) |
| OKLCH | oklch(38.71% 0.181 282.7) |
| XYZ | xyz(8.9682, 4.9778, 33.2824) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.49
Royal
#0C1793
ΔE00 5.69
Ultramarine
#2000B1
ΔE00 6.08
Cobalt Blue
#030AA7
ΔE00 6.18
Sapphire (survey)
#2138AB
ΔE00 6.19
Royal Blue (survey)
#0504AA
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E279F #889F27
analogous
#274C9F #3E279F #7A279F
triadic
#3E279F #9F3E27 #279F3E
tetradic
#3E279F #9F274C #889F27 #279F7A
square
#3E279F #9F274C #889F27 #279F7A
split-complementary
#3E279F #9F7A27 #4C9F27
monochromatic
#180F3D #2B1B6E #3E279F #5336CE #7D67DA
Accessibility & contrast
On white
10.52
#3E279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3E279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E279F
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E279F | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e279f; /* rgb */ color: rgb(62, 39, 159); /* oklch */ color: oklch(38.7% 0.181 282.7);
Tailwind
colors: {
custom: {
50: '#7f64bc',
500: '#3e279f',
950: '#000000',
},
}SCSS
$custom: #3e279f; $custom-light: #7f64bc; $custom-dark: #000000;
JSON
{
"hex": "#3e279f",
"rgb": {
"r": 62,
"g": 39,
"b": 159
},
"hsl": {
"h": 251.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.38714,
"c": 0.18073,
"h": 282.7
},
"luminance": 0.04978
}Semantic roles & 50–950 ramp
primary
#3E279F
secondary
#AEC062
accent
#E444C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81