#3E0A42#3E0A42

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

Color values

HEX#3E0A42
RGBrgb(62, 10, 66)
HSLhsl(296, 74%, 15%)
HSVhsv(296, 85%, 26%)
CMYKcmyk(6.1%, 84.8%, 0%, 74.1%)
CIE-LABlab(13.44, 32.48, -22.30)
CIE-LCHlch(13.44, 39.40, 325.53°)
OKLaboklab(26.8% 0.0883 -0.0621)
OKLCHoklch(26.8% 0.108 324.9)
XYZxyz(3.0784, 1.6348, 5.3066)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0A42 #0E420A
analogous
#220A42 #3E0A42 #420A2A
triadic
#3E0A42 #423E0A #0A423E
tetradic
#3E0A42 #42220A #0E420A #0A2A42
square
#3E0A42 #42220A #0E420A #0A2A42
split-complementary
#3E0A42 #2A420A #0A4222
monochromatic
#19041B #19041B #3E0A42 #701277 #A21AAC

Accessibility & contrast

On white

15.83
#3E0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3E0A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0A42
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0A42#FFFFFF#000000##FFFFFF
##3E0A421.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0a42;
/* rgb */ color: rgb(62, 10, 66);
/* oklch */ color: oklch(26.8% 0.108 324.9);
Tailwind
colors: {
  custom: {
    50: '#765077',
    500: '#3e0a42',
    950: '#000000',
  },
}
SCSS
$custom: #3e0a42;
$custom-light: #765077;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0a42",
  "rgb": {
    "r": 62,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 295.714,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26803,
    "c": 0.10792,
    "h": 324.9
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#3E0A42
secondary
#2F7F29
accent
#F03745
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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