#3E1548#3E1548

#3E1548 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.098 H 319.2°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3E1548
RGBrgb(62, 21, 72)
HSLhsl(288, 55%, 18%)
HSVhsv(288, 71%, 28%)
CMYKcmyk(13.9%, 70.8%, 0%, 71.8%)
CIE-LABlab(15.64, 28.78, -22.98)
CIE-LCHlch(15.64, 36.82, 321.39°)
OKLaboklab(28.51% 0.0745 -0.0642)
OKLCHoklch(28.51% 0.098 319.2)
XYZxyz(3.4243, 2.0285, 6.3408)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1548 #1F4815
analogous
#241548 #3E1548 #481538
triadic
#3E1548 #483E15 #15483E
tetradic
#3E1548 #482415 #1F4815 #153848
square
#3E1548 #482415 #1F4815 #153848
split-complementary
#3E1548 #384815 #154824
monochromatic
#140718 #150719 #3E1548 #672377 #9031A7

Accessibility & contrast

On white

14.94
#3E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1548
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1548#FFFFFF#000000##FFFFFF
##3E15481.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06244A
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#3E1E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1548;
/* rgb */ color: rgb(62, 21, 72);
/* oklch */ color: oklch(28.5% 0.098 319.2);
Tailwind
colors: {
  custom: {
    50: '#75567b',
    500: '#3e1548',
    950: '#000000',
  },
}
SCSS
$custom: #3e1548;
$custom-light: #75567b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1548",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 288.235,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28512,
    "c": 0.09834,
    "h": 319.2
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#3E1548
secondary
#478039
accent
#DE4A67
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1548

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

Preview Lab → · Contrast checker → · Palette generator →

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