#3E1048#3E1048

#3E1048 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.106 H 319.9°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#3E1048
RGBrgb(62, 16, 72)
HSLhsl(289, 64%, 17%)
HSVhsv(289, 78%, 28%)
CMYKcmyk(13.9%, 77.8%, 0%, 71.8%)
CIE-LABlab(14.75, 31.25, -24.39)
CIE-LCHlch(14.75, 39.64, 322.03°)
OKLaboklab(27.87% 0.0811 -0.0683)
OKLCHoklch(27.87% 0.106 319.9)
XYZxyz(3.3415, 1.8628, 6.3132)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1048 #1A4810
analogous
#221048 #3E1048 #481036
triadic
#3E1048 #483E10 #10483E
tetradic
#3E1048 #482210 #1A4810 #103648
square
#3E1048 #482210 #1A4810 #103648
split-complementary
#3E1048 #364810 #104822
monochromatic
#160619 #160619 #3E1048 #691B7A #9426AC

Accessibility & contrast

On white

15.30
#3E1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1048
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1048#FFFFFF#000000##FFFFFF
##3E10481.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#3E1A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1048;
/* rgb */ color: rgb(62, 16, 72);
/* oklch */ color: oklch(27.9% 0.106 319.9);
Tailwind
colors: {
  custom: {
    50: '#76537b',
    500: '#3e1048',
    950: '#000000',
  },
}
SCSS
$custom: #3e1048;
$custom-light: #76537b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1048",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 289.286,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27874,
    "c": 0.10601,
    "h": 319.9
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#3E1048
secondary
#408232
accent
#E7415F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1048

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

Preview Lab → · Contrast checker → · Palette generator →

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