#3E1045#3E1045

#3E1045 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.103 H 322.1°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#3E1045
RGBrgb(62, 16, 69)
HSLhsl(292, 62%, 17%)
HSVhsv(292, 77%, 27%)
CMYKcmyk(10.1%, 76.8%, 0%, 72.9%)
CIE-LABlab(14.54, 30.59, -22.64)
CIE-LCHlch(14.54, 38.06, 323.49°)
OKLaboklab(27.66% 0.0812 -0.0632)
OKLCHoklch(27.66% 0.103 322.1)
XYZxyz(3.2460, 1.8246, 5.8103)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1045 #174510
analogous
#241045 #3E1045 #451032
triadic
#3E1045 #453E10 #10453E
tetradic
#3E1045 #452410 #174510 #103245
square
#3E1045 #452410 #174510 #103245
split-complementary
#3E1045 #324510 #104524
monochromatic
#160619 #160619 #3E1045 #6B1C77 #9727A8

Accessibility & contrast

On white

15.39
#3E1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1045
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1045#FFFFFF#000000##FFFFFF
##3E10451.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022147
Deuteranopia (green-blind)
#172644
Tritanopia (blue-blind)
#3F1929
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1045;
/* rgb */ color: rgb(62, 16, 69);
/* oklch */ color: oklch(27.7% 0.103 322.1);
Tailwind
colors: {
  custom: {
    50: '#755379',
    500: '#3e1045',
    950: '#000000',
  },
}
SCSS
$custom: #3e1045;
$custom-light: #755379;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1045",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 292.075,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27655,
    "c": 0.1029,
    "h": 322.1
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#3E1045
secondary
#3C7F32
accent
#E54258
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1045

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

Preview Lab → · Contrast checker → · Palette generator →

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