#3E27A3#3E27A3
#3E27A3 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.186 H 282.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3E27A3 |
|---|---|
| RGB | rgb(62, 39, 163) |
| HSL | hsl(251, 61%, 40%) |
| HSV | hsv(251, 76%, 64%) |
| CMYK | cmyk(62%, 76.1%, 0%, 36.1%) |
| CIE-LAB | lab(27.07, 44.92, -62.93) |
| CIE-LCH | lch(27.07, 77.32, 305.52°) |
| OKLab | oklab(39.12% 0.0388 -0.1815) |
| OKLCH | oklch(39.12% 0.186 282.1) |
| XYZ | xyz(9.3209, 5.1189, 35.1401) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
Royal
#0C1793
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.03
Cobalt Blue
#030AA7
ΔE00 6.11
Violet Blue
#510AC9
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E27A3 #8CA327
analogous
#274EA3 #3E27A3 #7C27A3
triadic
#3E27A3 #A33E27 #27A33E
tetradic
#3E27A3 #A3274E #8CA327 #27A37C
square
#3E27A3 #A3274E #8CA327 #27A37C
split-complementary
#3E27A3 #A37C27 #4EA327
monochromatic
#180F40 #2B1B72 #3E27A3 #5438CF #7E69DB
Accessibility & contrast
On white
10.38
#3E27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3E27A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E27A3
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E27A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E27A3 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3e27a3; /* rgb */ color: rgb(62, 39, 163); /* oklch */ color: oklch(39.1% 0.186 282.1);
Tailwind
colors: {
custom: {
50: '#8064bf',
500: '#3e27a3',
950: '#000000',
},
}SCSS
$custom: #3e27a3; $custom-light: #8064bf; $custom-dark: #000000;
JSON
{
"hex": "#3e27a3",
"rgb": {
"r": 62,
"g": 39,
"b": 163
},
"hsl": {
"h": 251.129,
"s": 61.386,
"l": 39.608
},
"oklch": {
"l": 0.39115,
"c": 0.18557,
"h": 282.1
},
"luminance": 0.0512
}Semantic roles & 50–950 ramp
primary
#3E27A3
secondary
#B0C164
accent
#E443C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81