#3E1245#3E1245

#3E1245 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.100 H 321.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1245
RGBrgb(62, 18, 69)
HSLhsl(292, 59%, 17%)
HSVhsv(292, 74%, 27%)
CMYKcmyk(10.1%, 73.9%, 0%, 72.9%)
CIE-LABlab(14.88, 29.63, -22.10)
CIE-LCHlch(14.88, 36.96, 323.28°)
OKLaboklab(27.9% 0.0786 -0.0616)
OKLCHoklch(27.9% 0.1 321.9)
XYZxyz(3.2770, 1.8866, 5.8206)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1245 #194512
analogous
#251245 #3E1245 #451233
triadic
#3E1245 #453E12 #12453E
tetradic
#3E1245 #452512 #194512 #123345
square
#3E1245 #452512 #194512 #123345
split-complementary
#3E1245 #334512 #124525
monochromatic
#160618 #160618 #3E1245 #6A1F76 #952BA6

Accessibility & contrast

On white

15.25
#3E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1245
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1245#FFFFFF#000000##FFFFFF
##3E12451.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1245;
/* rgb */ color: rgb(62, 18, 69);
/* oklch */ color: oklch(27.9% 0.100 321.9);
Tailwind
colors: {
  custom: {
    50: '#755479',
    500: '#3e1245',
    950: '#000000',
  },
}
SCSS
$custom: #3e1245;
$custom-light: #755479;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1245",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 291.765,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27901,
    "c": 0.09988,
    "h": 321.9
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#3E1245
secondary
#3F7E35
accent
#E2465B
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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