#3E1540#3E1540

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

Color values

HEX#3E1540
RGBrgb(62, 21, 64)
HSLhsl(297, 51%, 17%)
HSVhsv(297, 67%, 25%)
CMYKcmyk(3.1%, 67.2%, 0%, 74.9%)
CIE-LABlab(15.12, 26.98, -18.23)
CIE-LCHlch(15.12, 32.56, 325.96°)
OKLaboklab(27.97% 0.0741 -0.0504)
OKLCHoklch(27.97% 0.09 325.8)
XYZxyz(3.1801, 1.9308, 5.0547)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1540 #174015
analogous
#291540 #3E1540 #40152D
triadic
#3E1540 #403E15 #15403E
tetradic
#3E1540 #402915 #174015 #152D40
square
#3E1540 #402915 #174015 #152D40
split-complementary
#3E1540 #2D4015 #154029
monochromatic
#160817 #160817 #3E1540 #6B246E #97339C

Accessibility & contrast

On white

15.15
#3E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1540
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1540#FFFFFF#000000##FFFFFF
##3E15401.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2341
Deuteranopia (green-blind)
#1D283F
Tritanopia (blue-blind)
#401B28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1540;
/* rgb */ color: rgb(62, 21, 64);
/* oklch */ color: oklch(28.0% 0.090 325.8);
Tailwind
colors: {
  custom: {
    50: '#755575',
    500: '#3e1540',
    950: '#000000',
  },
}
SCSS
$custom: #3e1540;
$custom-light: #755575;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1540",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 297.209,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2797,
    "c": 0.08962,
    "h": 325.8
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#3E1540
secondary
#3C7839
accent
#DA4E54
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1540

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

Preview Lab → · Contrast checker → · Palette generator →

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