#3E1241#3E1241

#3E1241 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.096 H 325.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3E1241
RGBrgb(62, 18, 65)
HSLhsl(296, 57%, 16%)
HSVhsv(296, 72%, 25%)
CMYKcmyk(4.6%, 72.3%, 0%, 74.5%)
CIE-LABlab(14.62, 28.76, -19.72)
CIE-LCHlch(14.62, 34.87, 325.56°)
OKLaboklab(27.63% 0.0785 -0.0547)
OKLCHoklch(27.63% 0.096 325.1)
XYZxyz(3.1570, 1.8386, 5.1886)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1241 #154112
analogous
#271241 #3E1241 #41122D
triadic
#3E1241 #413E12 #12413E
tetradic
#3E1241 #412712 #154112 #122D41
square
#3E1241 #412712 #154112 #122D41
split-complementary
#3E1241 #2D4112 #124127
monochromatic
#170718 #170718 #3E1241 #6C1F71 #992DA1

Accessibility & contrast

On white

15.36
#3E1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1241
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1241#FFFFFF#000000##FFFFFF
##3E12411.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092142
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#401927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1241;
/* rgb */ color: rgb(62, 18, 65);
/* oklch */ color: oklch(27.6% 0.096 325.1);
Tailwind
colors: {
  custom: {
    50: '#755476',
    500: '#3e1241',
    950: '#000000',
  },
}
SCSS
$custom: #3e1241;
$custom-light: #755476;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1241",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 296.17,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27625,
    "c": 0.0957,
    "h": 325.1
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#3E1241
secondary
#397A35
accent
#E04852
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1241

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

Preview Lab → · Contrast checker → · Palette generator →

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