#3E1346#3E1346

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

Color values

HEX#3E1346
RGBrgb(62, 19, 70)
HSLhsl(291, 57%, 17%)
HSVhsv(291, 73%, 27%)
CMYKcmyk(11.4%, 72.9%, 0%, 72.5%)
CIE-LABlab(15.13, 29.35, -22.40)
CIE-LCHlch(15.13, 36.92, 322.65°)
OKLaboklab(28.1% 0.0773 -0.0625)
OKLCHoklch(28.1% 0.099 321)
XYZxyz(3.3248, 1.9322, 5.9910)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1346 #1B4613
analogous
#241346 #3E1346 #461335
triadic
#3E1346 #463E13 #13463E
tetradic
#3E1346 #462413 #1B4613 #133546
square
#3E1346 #462413 #1B4613 #133546
split-complementary
#3E1346 #354613 #134624
monochromatic
#150718 #150718 #3E1346 #692076 #932DA6

Accessibility & contrast

On white

15.15
#3E1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1346
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1346#FFFFFF#000000##FFFFFF
##3E13461.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052348
Deuteranopia (green-blind)
#182845
Tritanopia (blue-blind)
#3F1C2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1346;
/* rgb */ color: rgb(62, 19, 70);
/* oklch */ color: oklch(28.1% 0.099 321.0);
Tailwind
colors: {
  custom: {
    50: '#75547a',
    500: '#3e1346',
    950: '#000000',
  },
}
SCSS
$custom: #3e1346;
$custom-light: #75547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1346",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 290.588,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28101,
    "c": 0.09938,
    "h": 321
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#3E1346
secondary
#427F36
accent
#E1475F
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1346

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

Preview Lab → · Contrast checker → · Palette generator →

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