#3E1E49#3E1E49

#3E1E49 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.0% C 0.083 H 316.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3E1E49
RGBrgb(62, 30, 73)
HSLhsl(285, 42%, 20%)
HSVhsv(285, 59%, 29%)
CMYKcmyk(15.1%, 58.9%, 0%, 71.4%)
CIE-LABlab(17.62, 23.84, -20.52)
CIE-LCHlch(17.62, 31.46, 319.28°)
OKLaboklab(29.98% 0.0609 -0.0571)
OKLCHoklch(29.98% 0.083 316.8)
XYZxyz(3.6533, 2.4338, 6.5794)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E49 #29491E
analogous
#281E49 #3E1E49 #491E3E
triadic
#3E1E49 #493E1E #1E493E
tetradic
#3E1E49 #49281E #29491E #1E3E49
square
#3E1E49 #49281E #29491E #1E3E49
split-complementary
#3E1E49 #3E491E #1E4928
monochromatic
#120916 #190C1E #3E1E49 #633074 #8842A0

Accessibility & contrast

On white

14.12
#3E1E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3E1E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E49
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E49#FFFFFF#000000##FFFFFF
##3E1E491.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294A
Deuteranopia (green-blind)
#1F2C48
Tritanopia (blue-blind)
#3E2530
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1e49;
/* rgb */ color: rgb(62, 30, 73);
/* oklch */ color: oklch(30.0% 0.083 316.8);
Tailwind
colors: {
  custom: {
    50: '#755b7c',
    500: '#3e1e49',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e49;
$custom-light: #755b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e49",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 284.651,
    "s": 41.748,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29979,
    "c": 0.08347,
    "h": 316.8
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#3E1E49
secondary
#537E45
accent
#D25676
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080409
muted
#7B797B

Preview Lab

Preview with #3E1E49

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

Preview Lab → · Contrast checker → · Palette generator →

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