#3E1041#3E1041

#3E1041 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.099 H 325.3°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3E1041
RGBrgb(62, 16, 65)
HSLhsl(296, 60%, 16%)
HSVhsv(296, 75%, 25%)
CMYKcmyk(4.6%, 75.4%, 0%, 74.5%)
CIE-LABlab(14.27, 29.73, -20.27)
CIE-LCHlch(14.27, 35.98, 325.71°)
OKLaboklab(27.37% 0.0812 -0.0563)
OKLCHoklch(27.37% 0.099 325.3)
XYZxyz(3.1260, 1.7766, 5.1783)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1041 #134110
analogous
#251041 #3E1041 #41102B
triadic
#3E1041 #413E10 #10413E
tetradic
#3E1041 #412510 #134110 #102B41
square
#3E1041 #412510 #134110 #102B41
split-complementary
#3E1041 #2B4110 #104125
monochromatic
#170619 #170619 #3E1041 #6D1C72 #9C28A3

Accessibility & contrast

On white

15.50
#3E1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1041
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1041#FFFFFF#000000##FFFFFF
##3E10411.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062142
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#401727
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e1041;
/* rgb */ color: rgb(62, 16, 65);
/* oklch */ color: oklch(27.4% 0.099 325.3);
Tailwind
colors: {
  custom: {
    50: '#755376',
    500: '#3e1041',
    950: '#000000',
  },
}
SCSS
$custom: #3e1041;
$custom-light: #755376;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1041",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 296.327,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27374,
    "c": 0.09883,
    "h": 325.3
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#3E1041
secondary
#367B32
accent
#E4444E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E1041

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

Preview Lab → · Contrast checker → · Palette generator →

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