#3E1340#3E1340

#3E1340 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.093 H 325.9°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#3E1340
RGBrgb(62, 19, 64)
HSLhsl(297, 54%, 16%)
HSVhsv(297, 70%, 25%)
CMYKcmyk(3.1%, 70.3%, 0%, 74.9%)
CIE-LABlab(14.74, 28.04, -18.83)
CIE-LCHlch(14.74, 33.77, 326.11°)
OKLaboklab(27.69% 0.0771 -0.0521)
OKLCHoklch(27.69% 0.093 325.9)
XYZxyz(3.1448, 1.8602, 5.0429)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1340 #154013
analogous
#281340 #3E1340 #40132C
triadic
#3E1340 #403E13 #13403E
tetradic
#3E1340 #402813 #154013 #132C40
square
#3E1340 #402813 #154013 #132C40
split-complementary
#3E1340 #2C4013 #134028
monochromatic
#170718 #170718 #3E1340 #6C216F #992F9E

Accessibility & contrast

On white

15.31
#3E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1340
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1340#FFFFFF#000000##FFFFFF
##3E13401.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2241
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#401927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1340;
/* rgb */ color: rgb(62, 19, 64);
/* oklch */ color: oklch(27.7% 0.093 325.9);
Tailwind
colors: {
  custom: {
    50: '#755475',
    500: '#3e1340',
    950: '#000000',
  },
}
SCSS
$custom: #3e1340;
$custom-light: #755475;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1340",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 297.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27691,
    "c": 0.09304,
    "h": 325.9
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#3E1340
secondary
#397936
accent
#DE4A51
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1340

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

Preview Lab → · Contrast checker → · Palette generator →

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