#3E0642#3E0642

#3E0642 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.113 H 325.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3E0642
RGBrgb(62, 6, 66)
HSLhsl(296, 83%, 14%)
HSVhsv(296, 91%, 26%)
CMYKcmyk(6.1%, 90.9%, 0%, 74.1%)
CIE-LABlab(12.91, 34.02, -23.14)
CIE-LCHlch(12.91, 41.14, 325.77°)
OKLaboklab(26.43% 0.0925 -0.0646)
OKLCHoklch(26.43% 0.113 325.1)
XYZxyz(3.0350, 1.5479, 5.2921)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0642 #0A4206
analogous
#200642 #3E0642 #420628
triadic
#3E0642 #423E06 #06423E
tetradic
#3E0642 #422006 #0A4206 #062842
square
#3E0642 #422006 #0A4206 #062842
split-complementary
#3E0642 #284206 #064220
monochromatic
#1A031C #1A031C #3E0642 #730B7A #A710B2

Accessibility & contrast

On white

16.04
#3E0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0642
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0642#FFFFFF#000000##FFFFFF
##3E06421.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0642;
/* rgb */ color: rgb(62, 6, 66);
/* oklch */ color: oklch(26.4% 0.113 325.1);
Tailwind
colors: {
  custom: {
    50: '#764e77',
    500: '#3e0642',
    950: '#000000',
  },
}
SCSS
$custom: #3e0642;
$custom-light: #764e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0642",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 296,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26426,
    "c": 0.1128,
    "h": 325.1
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#3E0642
secondary
#288222
accent
#FA2E3C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0642

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

Preview Lab → · Contrast checker → · Palette generator →

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