#3E0D47#3E0D47

#3E0D47 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.109 H 320.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3E0D47
RGBrgb(62, 13, 71)
HSLhsl(291, 69%, 16%)
HSVhsv(291, 82%, 28%)
CMYKcmyk(12.7%, 81.7%, 0%, 72.2%)
CIE-LABlab(14.21, 32.35, -24.56)
CIE-LCHlch(14.21, 40.61, 322.80°)
OKLaboklab(27.47% 0.0847 -0.0687)
OKLCHoklch(27.47% 0.109 320.9)
XYZxyz(3.2677, 1.7671, 6.1290)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D47 #16470D
analogous
#210D47 #3E0D47 #470D33
triadic
#3E0D47 #473E0D #0D473E
tetradic
#3E0D47 #47210D #16470D #0D3347
square
#3E0D47 #47210D #16470D #0D3347
split-complementary
#3E0D47 #33470D #0D4721
monochromatic
#17051A #17051A #3E0D47 #6B167B #9820AE

Accessibility & contrast

On white

15.52
#3E0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3E0D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D47
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D47#FFFFFF#000000##FFFFFF
##3E0D471.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#3E1829
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e0d47;
/* rgb */ color: rgb(62, 13, 71);
/* oklch */ color: oklch(27.5% 0.109 320.9);
Tailwind
colors: {
  custom: {
    50: '#76527a',
    500: '#3e0d47',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d47;
$custom-light: #76527a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d47",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 290.69,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.10905,
    "h": 320.9
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#3E0D47
secondary
#3B822D
accent
#EC3C57
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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