#3E1142#3E1142

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

Color values

HEX#3E1142
RGBrgb(62, 17, 66)
HSLhsl(295, 59%, 16%)
HSVhsv(295, 74%, 26%)
CMYKcmyk(6.1%, 74.2%, 0%, 74.1%)
CIE-LABlab(14.51, 29.46, -20.60)
CIE-LCHlch(14.51, 35.95, 325.04°)
OKLaboklab(27.57% 0.0799 -0.0572)
OKLCHoklch(27.57% 0.098 324.4)
XYZxyz(3.1703, 1.8186, 5.3372)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1142 #154211
analogous
#261142 #3E1142 #42112E
triadic
#3E1142 #423E11 #11423E
tetradic
#3E1142 #422611 #154211 #112E42
square
#3E1142 #422611 #154211 #112E42
split-complementary
#3E1142 #2E4211 #114226
monochromatic
#170618 #170618 #3E1142 #6C1E73 #992AA3

Accessibility & contrast

On white

15.40
#3E1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3E1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1142
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1142#FFFFFF#000000##FFFFFF
##3E11421.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072143
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#3F1927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1142;
/* rgb */ color: rgb(62, 17, 66);
/* oklch */ color: oklch(27.6% 0.098 324.4);
Tailwind
colors: {
  custom: {
    50: '#755376',
    500: '#3e1142',
    950: '#000000',
  },
}
SCSS
$custom: #3e1142;
$custom-light: #755376;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1142",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 295.102,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27565,
    "c": 0.09832,
    "h": 324.4
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#3E1142
secondary
#397C33
accent
#E24652
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1142

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

Preview Lab → · Contrast checker → · Palette generator →

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