#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
RGBrgb(62, 39, 163)
HSLhsl(251, 61%, 40%)
HSVhsv(251, 76%, 64%)
CMYKcmyk(62%, 76.1%, 0%, 36.1%)
CIE-LABlab(27.07, 44.92, -62.93)
CIE-LCHlch(27.07, 77.32, 305.52°)
OKLaboklab(39.12% 0.0388 -0.1815)
OKLCHoklch(39.12% 0.186 282.1)
XYZxyz(9.3209, 5.1189, 35.1401)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##3E27A31.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.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

Preview Lab

Preview with #3E27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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