#3E1247#3E1247

#3E1247 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.102 H 320.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3E1247
RGBrgb(62, 18, 71)
HSLhsl(290, 60%, 17%)
HSVhsv(290, 75%, 28%)
CMYKcmyk(12.7%, 74.6%, 0%, 72.2%)
CIE-LABlab(15.02, 30.08, -23.27)
CIE-LCHlch(15.02, 38.03, 322.27°)
OKLaboklab(28.04% 0.0786 -0.065)
OKLCHoklch(28.04% 0.102 320.4)
XYZxyz(3.3401, 1.9118, 6.1531)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1247 #1B4712
analogous
#231247 #3E1247 #471236
triadic
#3E1247 #473E12 #12473E
tetradic
#3E1247 #472312 #1B4712 #123647
square
#3E1247 #472312 #1B4712 #123647
split-complementary
#3E1247 #364712 #124723
monochromatic
#150618 #150618 #3E1247 #691E78 #932BA9

Accessibility & contrast

On white

15.19
#3E1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1247
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1247#FFFFFF#000000##FFFFFF
##3E12471.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032349
Deuteranopia (green-blind)
#172746
Tritanopia (blue-blind)
#3E1B2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1247;
/* rgb */ color: rgb(62, 18, 71);
/* oklch */ color: oklch(28.0% 0.102 320.4);
Tailwind
colors: {
  custom: {
    50: '#75547a',
    500: '#3e1247',
    950: '#000000',
  },
}
SCSS
$custom: #3e1247;
$custom-light: #75547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1247",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 289.811,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28044,
    "c": 0.102,
    "h": 320.4
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#3E1247
secondary
#428035
accent
#E34560
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1247

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

Preview Lab → · Contrast checker → · Palette generator →

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