#3E1249#3E1249

#3E1249 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.104 H 318.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#3E1249
RGBrgb(62, 18, 73)
HSLhsl(288, 60%, 18%)
HSVhsv(288, 75%, 29%)
CMYKcmyk(15.1%, 75.3%, 0%, 71.4%)
CIE-LABlab(15.16, 30.53, -24.43)
CIE-LCHlch(15.16, 39.10, 321.33°)
OKLaboklab(28.19% 0.0785 -0.0684)
OKLCHoklch(28.19% 0.104 318.9)
XYZxyz(3.4054, 1.9379, 6.4967)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1249 #1D4912
analogous
#221249 #3E1249 #491238
triadic
#3E1249 #493E12 #12493E
tetradic
#3E1249 #492212 #1D4912 #123849
square
#3E1249 #492212 #1D4912 #123849
split-complementary
#3E1249 #384912 #124922
monochromatic
#150619 #150619 #3E1249 #681E7A #912AAB

Accessibility & contrast

On white

15.13
#3E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1249
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1249#FFFFFF#000000##FFFFFF
##3E12491.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1249;
/* rgb */ color: rgb(62, 18, 73);
/* oklch */ color: oklch(28.2% 0.104 318.9);
Tailwind
colors: {
  custom: {
    50: '#75547c',
    500: '#3e1249',
    950: '#000000',
  },
}
SCSS
$custom: #3e1249;
$custom-light: #75547c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1249",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 288,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2819,
    "c": 0.10415,
    "h": 318.9
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#3E1249
secondary
#448235
accent
#E44464
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1249

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

Preview Lab → · Contrast checker → · Palette generator →

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