#3E0742#3E0742

#3E0742 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.112 H 325.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3E0742
RGBrgb(62, 7, 66)
HSLhsl(296, 81%, 14%)
HSVhsv(296, 89%, 26%)
CMYKcmyk(6.1%, 89.4%, 0%, 74.1%)
CIE-LABlab(13.04, 33.63, -22.93)
CIE-LCHlch(13.04, 40.70, 325.71°)
OKLaboklab(26.52% 0.0914 -0.064)
OKLCHoklch(26.52% 0.112 325)
XYZxyz(3.0459, 1.5696, 5.2957)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0742 #0B4207
analogous
#210742 #3E0742 #420729
triadic
#3E0742 #423E07 #07423E
tetradic
#3E0742 #422107 #0B4207 #072942
square
#3E0742 #422107 #0B4207 #072942
split-complementary
#3E0742 #294207 #074221
monochromatic
#1A031C #1A031C #3E0742 #720D79 #A613B1

Accessibility & contrast

On white

15.98
#3E0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3E0742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0742
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0742#FFFFFF#000000##FFFFFF
##3E07421.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#142441
Tritanopia (blue-blind)
#401225
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0742;
/* rgb */ color: rgb(62, 7, 66);
/* oklch */ color: oklch(26.5% 0.112 325.0);
Tailwind
colors: {
  custom: {
    50: '#764f77',
    500: '#3e0742',
    950: '#000000',
  },
}
SCSS
$custom: #3e0742;
$custom-light: #764f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0742",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 295.932,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.11156,
    "h": 325
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#3E0742
secondary
#2A8124
accent
#F7313E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0742

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

Preview Lab → · Contrast checker → · Palette generator →

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