#3E0D4D#3E0D4D

#3E0D4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.115 H 316.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3E0D4D
RGBrgb(62, 13, 77)
HSLhsl(286, 71%, 18%)
HSVhsv(286, 83%, 30%)
CMYKcmyk(19.5%, 83.1%, 0%, 69.8%)
CIE-LABlab(14.67, 33.68, -27.98)
CIE-LCHlch(14.67, 43.78, 320.28°)
OKLaboklab(27.94% 0.0839 -0.0788)
OKLCHoklch(27.94% 0.115 316.8)
XYZxyz(3.4699, 1.8479, 7.1937)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D4D #1C4D0D
analogous
#1E0D4D #3E0D4D #4D0D3C
triadic
#3E0D4D #4D3E0D #0D4D3E
tetradic
#3E0D4D #4D1E0D #1C4D0D #0D3C4D
square
#3E0D4D #4D1E0D #1C4D0D #0D3C4D
split-complementary
#3E0D4D #3C4D0D #0D4D1E
monochromatic
#15041A #15041A #3E0D4D #681681 #921FB6

Accessibility & contrast

On white

15.33
#3E0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D4D
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D4D#FFFFFF#000000##FFFFFF
##3E0D4D1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0E264C
Tritanopia (blue-blind)
#3D1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0d4d;
/* rgb */ color: rgb(62, 13, 77);
/* oklch */ color: oklch(27.9% 0.115 316.8);
Tailwind
colors: {
  custom: {
    50: '#76527f',
    500: '#3e0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d4d;
$custom-light: #76527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d4d",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 285.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27936,
    "c": 0.11509,
    "h": 316.8
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#3E0D4D
secondary
#43882E
accent
#EE3A64
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3E0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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