#3E0D4B#3E0D4B

#3E0D4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.113 H 318.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3E0D4B
RGBrgb(62, 13, 75)
HSLhsl(287, 70%, 17%)
HSVhsv(287, 83%, 29%)
CMYKcmyk(17.3%, 82.7%, 0%, 70.6%)
CIE-LABlab(14.51, 33.23, -26.85)
CIE-LCHlch(14.51, 42.72, 321.06°)
OKLaboklab(27.78% 0.0842 -0.0755)
OKLCHoklch(27.78% 0.113 318.1)
XYZxyz(3.4004, 1.8201, 6.8275)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D4B #1A4B0D
analogous
#1F0D4B #3E0D4B #4B0D39
triadic
#3E0D4B #4B3E0D #0D4B3E
tetradic
#3E0D4B #4B1F0D #1A4B0D #0D394B
square
#3E0D4B #4B1F0D #1A4B0D #0D394B
split-complementary
#3E0D4B #394B0D #0D4B1F
monochromatic
#16051A #16051A #3E0D4B #69167F #941FB3

Accessibility & contrast

On white

15.40
#3E0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D4B
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D4B#FFFFFF#000000##FFFFFF
##3E0D4B1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3E1A2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0d4b;
/* rgb */ color: rgb(62, 13, 75);
/* oklch */ color: oklch(27.8% 0.113 318.1);
Tailwind
colors: {
  custom: {
    50: '#76527e',
    500: '#3e0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d4b;
$custom-light: #76527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d4b",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 287.419,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27777,
    "c": 0.11307,
    "h": 318.1
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#3E0D4B
secondary
#40862E
accent
#ED3B60
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3E0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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