#3E1147#3E1147

#3E1147 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.103 H 320.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3E1147
RGBrgb(62, 17, 71)
HSLhsl(290, 61%, 17%)
HSVhsv(290, 76%, 28%)
CMYKcmyk(12.7%, 76.1%, 0%, 72.2%)
CIE-LABlab(14.85, 30.56, -23.55)
CIE-LCHlch(14.85, 38.58, 322.39°)
OKLaboklab(27.92% 0.0799 -0.0658)
OKLCHoklch(27.92% 0.104 320.5)
XYZxyz(3.3243, 1.8801, 6.1478)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1147 #1A4711
analogous
#231147 #3E1147 #471135
triadic
#3E1147 #473E11 #11473E
tetradic
#3E1147 #472311 #1A4711 #113547
square
#3E1147 #472311 #1A4711 #113547
split-complementary
#3E1147 #354711 #114723
monochromatic
#160619 #160619 #3E1147 #691D78 #9429AA

Accessibility & contrast

On white

15.26
#3E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1147
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1147#FFFFFF#000000##FFFFFF
##3E11471.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012249
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#3E1B2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1147;
/* rgb */ color: rgb(62, 17, 71);
/* oklch */ color: oklch(27.9% 0.103 320.5);
Tailwind
colors: {
  custom: {
    50: '#75537a',
    500: '#3e1147',
    950: '#000000',
  },
}
SCSS
$custom: #3e1147;
$custom-light: #75537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1147",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 290,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2792,
    "c": 0.1035,
    "h": 320.5
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#3E1147
secondary
#408133
accent
#E4435E
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1147

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

Preview Lab → · Contrast checker → · Palette generator →

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