#3E1448#3E1448

#3E1448 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.100 H 319.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1448
RGBrgb(62, 20, 72)
HSLhsl(288, 57%, 18%)
HSVhsv(288, 72%, 28%)
CMYKcmyk(13.9%, 72.2%, 0%, 71.8%)
CIE-LABlab(15.45, 29.30, -23.28)
CIE-LCHlch(15.45, 37.42, 321.53°)
OKLaboklab(28.38% 0.0759 -0.0651)
OKLCHoklch(28.38% 0.1 319.4)
XYZxyz(3.4063, 1.9925, 6.3348)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1448 #1E4814
analogous
#241448 #3E1448 #481438
triadic
#3E1448 #483E14 #14483E
tetradic
#3E1448 #482414 #1E4814 #143848
square
#3E1448 #482414 #1E4814 #143848
split-complementary
#3E1448 #384814 #144824
monochromatic
#150718 #150718 #3E1448 #672178 #902FA8

Accessibility & contrast

On white

15.02
#3E1448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E1448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1448
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1448#FFFFFF#000000##FFFFFF
##3E14481.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1448;
/* rgb */ color: rgb(62, 20, 72);
/* oklch */ color: oklch(28.4% 0.100 319.4);
Tailwind
colors: {
  custom: {
    50: '#75557b',
    500: '#3e1448',
    950: '#000000',
  },
}
SCSS
$custom: #3e1448;
$custom-light: #75557b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1448",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 288.462,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28376,
    "c": 0.09996,
    "h": 319.4
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#3E1448
secondary
#468038
accent
#E04865
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1448

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

Preview Lab → · Contrast checker → · Palette generator →

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