#3E1047#3E1047

#3E1047 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.105 H 320.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3E1047
RGBrgb(62, 16, 71)
HSLhsl(290, 63%, 17%)
HSVhsv(290, 77%, 28%)
CMYKcmyk(12.7%, 77.5%, 0%, 72.2%)
CIE-LABlab(14.68, 31.03, -23.81)
CIE-LCHlch(14.68, 39.11, 322.50°)
OKLaboklab(27.8% 0.0811 -0.0666)
OKLCHoklch(27.8% 0.105 320.6)
XYZxyz(3.3091, 1.8498, 6.1428)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1047 #194710
analogous
#231047 #3E1047 #471035
triadic
#3E1047 #473E10 #10473E
tetradic
#3E1047 #472310 #194710 #103547
square
#3E1047 #472310 #194710 #103547
split-complementary
#3E1047 #354710 #104723
monochromatic
#160619 #160619 #3E1047 #6A1B79 #9527AB

Accessibility & contrast

On white

15.33
#3E1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1047
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1047#FFFFFF#000000##FFFFFF
##3E10471.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#3E1A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1047;
/* rgb */ color: rgb(62, 16, 71);
/* oklch */ color: oklch(27.8% 0.105 320.6);
Tailwind
colors: {
  custom: {
    50: '#76537a',
    500: '#3e1047',
    950: '#000000',
  },
}
SCSS
$custom: #3e1047;
$custom-light: #76537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1047",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 290.182,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.278,
    "c": 0.10496,
    "h": 320.6
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#3E1047
secondary
#3F8132
accent
#E6425C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3E1047

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

Preview Lab → · Contrast checker → · Palette generator →

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