#3E27A9#3E27A9

#3E27A9 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.193 H 281.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3E27A9
RGBrgb(62, 39, 169)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 77%, 66%)
CMYKcmyk(63.3%, 76.9%, 0%, 33.7%)
CIE-LABlab(27.68, 46.75, -65.55)
CIE-LCHlch(27.68, 80.51, 305.50°)
OKLaboklab(39.73% 0.0373 -0.1891)
OKLCHoklch(39.73% 0.193 281.1)
XYZxyz(9.8713, 5.3390, 38.0388)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27A9 #92A927
analogous
#2751A9 #3E27A9 #7F27A9
triadic
#3E27A9 #A93E27 #27A93E
tetradic
#3E27A9 #A92751 #92A927 #27A97F
square
#3E27A9 #A92751 #92A927 #27A97F
split-complementary
#3E27A9 #A97F27 #51A927
monochromatic
#1A1046 #2C1C77 #3E27A9 #563BD2 #816DDD

Accessibility & contrast

On white

10.15
#3E27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E27A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27A9
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27A9#FFFFFF#000000##FFFFFF
##3E27A91.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e27a9;
/* rgb */ color: rgb(62, 39, 169);
/* oklch */ color: oklch(39.7% 0.193 281.1);
Tailwind
colors: {
  custom: {
    50: '#8165c4',
    500: '#3e27a9',
    950: '#000000',
  },
}
SCSS
$custom: #3e27a9;
$custom-light: #8165c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27a9",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 250.615,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.19276,
    "h": 281.1
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#3E27A9
secondary
#B4C468
accent
#E642C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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