#3E1248#3E1248

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

Color values

HEX#3E1248
RGBrgb(62, 18, 72)
HSLhsl(289, 60%, 18%)
HSVhsv(289, 75%, 28%)
CMYKcmyk(13.9%, 75%, 0%, 71.8%)
CIE-LABlab(15.09, 30.30, -23.85)
CIE-LCHlch(15.09, 38.56, 321.79°)
OKLaboklab(28.12% 0.0786 -0.0667)
OKLCHoklch(28.12% 0.103 319.6)
XYZxyz(3.3725, 1.9248, 6.3235)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1248 #1C4812
analogous
#231248 #3E1248 #481237
triadic
#3E1248 #483E12 #12483E
tetradic
#3E1248 #482312 #1C4812 #123748
square
#3E1248 #482312 #1C4812 #123748
split-complementary
#3E1248 #374812 #124823
monochromatic
#150618 #150618 #3E1248 #681E79 #922AAA

Accessibility & contrast

On white

15.16
#3E1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1248
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1248#FFFFFF#000000##FFFFFF
##3E12481.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234A
Deuteranopia (green-blind)
#162747
Tritanopia (blue-blind)
#3E1C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1248;
/* rgb */ color: rgb(62, 18, 72);
/* oklch */ color: oklch(28.1% 0.103 319.6);
Tailwind
colors: {
  custom: {
    50: '#75547b',
    500: '#3e1248',
    950: '#000000',
  },
}
SCSS
$custom: #3e1248;
$custom-light: #75547b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1248",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 288.889,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.10307,
    "h": 319.6
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#3E1248
secondary
#438135
accent
#E34562
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1248

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

Preview Lab → · Contrast checker → · Palette generator →

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