#3E1145#3E1145

#3E1145 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.101 H 322.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3E1145
RGBrgb(62, 17, 69)
HSLhsl(292, 60%, 17%)
HSVhsv(292, 75%, 27%)
CMYKcmyk(10.1%, 75.4%, 0%, 72.9%)
CIE-LABlab(14.71, 30.12, -22.38)
CIE-LCHlch(14.71, 37.52, 323.39°)
OKLaboklab(27.78% 0.0799 -0.0624)
OKLCHoklch(27.78% 0.101 322)
XYZxyz(3.2611, 1.8549, 5.8153)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1145 #184511
analogous
#241145 #3E1145 #451132
triadic
#3E1145 #453E11 #11453E
tetradic
#3E1145 #452411 #184511 #113245
square
#3E1145 #452411 #184511 #113245
split-complementary
#3E1145 #324511 #114524
monochromatic
#160619 #160619 #3E1145 #6A1D76 #9629A7

Accessibility & contrast

On white

15.32
#3E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1145
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1145#FFFFFF#000000##FFFFFF
##3E11451.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032247
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#3F1A29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1145;
/* rgb */ color: rgb(62, 17, 69);
/* oklch */ color: oklch(27.8% 0.101 322.0);
Tailwind
colors: {
  custom: {
    50: '#755379',
    500: '#3e1145',
    950: '#000000',
  },
}
SCSS
$custom: #3e1145;
$custom-light: #755379;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1145",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 291.923,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27776,
    "c": 0.10142,
    "h": 322
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#3E1145
secondary
#3D7F33
accent
#E4445A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1145

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

Preview Lab → · Contrast checker → · Palette generator →

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