#3E0D4A#3E0D4A

#3E0D4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.112 H 318.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#3E0D4A
RGBrgb(62, 13, 74)
HSLhsl(288, 70%, 17%)
HSVhsv(288, 82%, 29%)
CMYKcmyk(16.2%, 82.4%, 0%, 71%)
CIE-LABlab(14.44, 33.01, -26.28)
CIE-LCHlch(14.44, 42.19, 321.47°)
OKLaboklab(27.7% 0.0843 -0.0738)
OKLCHoklch(27.7% 0.112 318.8)
XYZxyz(3.3664, 1.8066, 6.6486)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D4A #194A0D
analogous
#200D4A #3E0D4A #4A0D38
triadic
#3E0D4A #4A3E0D #0D4A3E
tetradic
#3E0D4A #4A200D #194A0D #0D384A
square
#3E0D4A #4A200D #194A0D #0D384A
split-complementary
#3E0D4A #384A0D #0D4A20
monochromatic
#16051A #16051A #3E0D4A #6A167E #951FB2

Accessibility & contrast

On white

15.43
#3E0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D4A
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D4A#FFFFFF#000000##FFFFFF
##3E0D4A1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#3E1A2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e0d4a;
/* rgb */ color: rgb(62, 13, 74);
/* oklch */ color: oklch(27.7% 0.112 318.8);
Tailwind
colors: {
  custom: {
    50: '#76527d',
    500: '#3e0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d4a;
$custom-light: #76527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d4a",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 288.197,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27699,
    "c": 0.11206,
    "h": 318.8
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#3E0D4A
secondary
#3F852E
accent
#ED3B5E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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