#3E27AC#3E27AC

#3E27AC is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.196 H 280.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3E27AC
RGBrgb(62, 39, 172)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.99, 47.66, -66.85)
CIE-LCHlch(27.99, 82.10, 305.49°)
OKLaboklab(40.03% 0.0365 -0.1929)
OKLCHoklch(40.03% 0.196 280.7)
XYZxyz(10.1562, 5.4530, 39.5391)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27AC #95AC27
analogous
#2753AC #3E27AC #8127AC
triadic
#3E27AC #AC3E27 #27AC3E
tetradic
#3E27AC #AC2753 #95AC27 #27AC81
square
#3E27AC #AC2753 #95AC27 #27AC81
split-complementary
#3E27AC #AC8127 #53AC27
monochromatic
#1A1048 #2C1C7A #3E27AC #573DD3 #826FDE

Accessibility & contrast

On white

10.04
#3E27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E27AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27AC
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27AC#FFFFFF#000000##FFFFFF
##3E27AC1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e27ac;
/* rgb */ color: rgb(62, 39, 172);
/* oklch */ color: oklch(40.0% 0.196 280.7);
Tailwind
colors: {
  custom: {
    50: '#8265c6',
    500: '#3e27ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e27ac;
$custom-light: #8265c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27ac",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 250.376,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.19633,
    "h": 280.7
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#3E27AC
secondary
#B5C56A
accent
#E642CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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