#3E0942#3E0942

#3E0942 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.109 H 324.9°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#3E0942
RGBrgb(62, 9, 66)
HSLhsl(296, 76%, 15%)
HSVhsv(296, 86%, 26%)
CMYKcmyk(6.1%, 86.4%, 0%, 74.1%)
CIE-LABlab(13.31, 32.86, -22.50)
CIE-LCHlch(13.31, 39.83, 325.59°)
OKLaboklab(26.71% 0.0893 -0.0627)
OKLCHoklch(26.71% 0.109 324.9)
XYZxyz(3.0676, 1.6131, 5.3030)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0942 #0D4209
analogous
#210942 #3E0942 #42092A
triadic
#3E0942 #423E09 #09423E
tetradic
#3E0942 #422109 #0D4209 #092A42
square
#3E0942 #422109 #0D4209 #092A42
split-complementary
#3E0942 #2A4209 #094221
monochromatic
#19041B #19041B #3E0942 #711078 #A318AE

Accessibility & contrast

On white

15.88
#3E0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0942
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0942#FFFFFF#000000##FFFFFF
##3E09421.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#401425
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0942;
/* rgb */ color: rgb(62, 9, 66);
/* oklch */ color: oklch(26.7% 0.109 324.9);
Tailwind
colors: {
  custom: {
    50: '#765077',
    500: '#3e0942',
    950: '#000000',
  },
}
SCSS
$custom: #3e0942;
$custom-light: #765077;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0942",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 295.789,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2671,
    "c": 0.10912,
    "h": 324.9
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#3E0942
secondary
#2D8027
accent
#F33543
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0942

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

Preview Lab → · Contrast checker → · Palette generator →

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