#3E1149#3E1149

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

Color values

HEX#3E1149
RGBrgb(62, 17, 73)
HSLhsl(288, 62%, 18%)
HSVhsv(288, 77%, 29%)
CMYKcmyk(15.1%, 76.7%, 0%, 71.4%)
CIE-LABlab(14.99, 31.01, -24.70)
CIE-LCHlch(14.99, 39.65, 321.46°)
OKLaboklab(28.07% 0.0798 -0.0692)
OKLCHoklch(28.07% 0.106 319.1)
XYZxyz(3.3895, 1.9062, 6.4914)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1149 #1C4911
analogous
#221149 #3E1149 #491138
triadic
#3E1149 #493E11 #11493E
tetradic
#3E1149 #492211 #1C4911 #113849
square
#3E1149 #492211 #1C4911 #113849
split-complementary
#3E1149 #384911 #114922
monochromatic
#150619 #150619 #3E1149 #681D7B #9228AC

Accessibility & contrast

On white

15.20
#3E1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E1149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1149
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1149#FFFFFF#000000##FFFFFF
##3E11491.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#152748
Tritanopia (blue-blind)
#3E1B2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1149;
/* rgb */ color: rgb(62, 17, 73);
/* oklch */ color: oklch(28.1% 0.106 319.1);
Tailwind
colors: {
  custom: {
    50: '#76547c',
    500: '#3e1149',
    950: '#000000',
  },
}
SCSS
$custom: #3e1149;
$custom-light: #76547c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1149",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 288.214,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28067,
    "c": 0.10562,
    "h": 319.1
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#3E1149
secondary
#438233
accent
#E54362
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1149

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

Preview Lab → · Contrast checker → · Palette generator →

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