#3E1043#3E1043

#3E1043 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.101 H 323.7°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#3E1043
RGBrgb(62, 16, 67)
HSLhsl(294, 61%, 16%)
HSVhsv(294, 76%, 26%)
CMYKcmyk(7.5%, 76.1%, 0%, 73.7%)
CIE-LABlab(14.40, 30.16, -21.47)
CIE-LCHlch(14.40, 37.02, 324.56°)
OKLaboklab(27.51% 0.0813 -0.0597)
OKLCHoklch(27.51% 0.101 323.7)
XYZxyz(3.1849, 1.8001, 5.4888)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1043 #154310
analogous
#251043 #3E1043 #43102F
triadic
#3E1043 #433E10 #10433E
tetradic
#3E1043 #432510 #154310 #102F43
square
#3E1043 #432510 #154310 #102F43
split-complementary
#3E1043 #2F4310 #104325
monochromatic
#170619 #170619 #3E1043 #6C1C74 #9928A6

Accessibility & contrast

On white

15.44
#3E1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1043
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1043#FFFFFF#000000##FFFFFF
##3E10431.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042144
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#3F1828
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e1043;
/* rgb */ color: rgb(62, 16, 67);
/* oklch */ color: oklch(27.5% 0.101 323.7);
Tailwind
colors: {
  custom: {
    50: '#755377',
    500: '#3e1043',
    950: '#000000',
  },
}
SCSS
$custom: #3e1043;
$custom-light: #755377;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1043",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 294.118,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27513,
    "c": 0.10085,
    "h": 323.7
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#3E1043
secondary
#397D32
accent
#E54353
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E1043

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

Preview Lab → · Contrast checker → · Palette generator →

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