#3E27A1#3E27A1

#3E27A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.183 H 282.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3E27A1
RGBrgb(62, 39, 161)
HSLhsl(251, 61%, 39%)
HSVhsv(251, 76%, 63%)
CMYKcmyk(61.5%, 75.8%, 0%, 36.9%)
CIE-LABlab(26.87, 44.31, -62.04)
CIE-LCHlch(26.87, 76.24, 305.54°)
OKLaboklab(38.91% 0.0393 -0.1789)
OKLCHoklch(38.91% 0.183 282.4)
XYZxyz(9.1431, 5.0477, 34.2038)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27A1 #8AA127
analogous
#274DA1 #3E27A1 #7B27A1
triadic
#3E27A1 #A13E27 #27A13E
tetradic
#3E27A1 #A1274D #8AA127 #27A17B
square
#3E27A1 #A1274D #8AA127 #27A17B
split-complementary
#3E27A1 #A17B27 #4DA127
monochromatic
#180F3E #2B1B70 #3E27A1 #5337CE #7E68DA

Accessibility & contrast

On white

10.45
#3E27A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E27A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27A1
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27A1#FFFFFF#000000##FFFFFF
##3E27A11.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e27a1;
/* rgb */ color: rgb(62, 39, 161);
/* oklch */ color: oklch(38.9% 0.183 282.4);
Tailwind
colors: {
  custom: {
    50: '#8064be',
    500: '#3e27a1',
    950: '#000000',
  },
}
SCSS
$custom: #3e27a1;
$custom-light: #8064be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27a1",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 251.311,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.18316,
    "h": 282.4
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#3E27A1
secondary
#AFC063
accent
#E444C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E27A1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E27A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva