#3E0D48#3E0D48

#3E0D48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.110 H 320.2°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#3E0D48
RGBrgb(62, 13, 72)
HSLhsl(290, 69%, 17%)
HSVhsv(290, 82%, 28%)
CMYKcmyk(13.9%, 81.9%, 0%, 71.8%)
CIE-LABlab(14.29, 32.57, -25.13)
CIE-LCHlch(14.29, 41.14, 322.34°)
OKLaboklab(27.55% 0.0846 -0.0704)
OKLCHoklch(27.55% 0.11 320.2)
XYZxyz(3.3001, 1.7800, 6.2994)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D48 #17480D
analogous
#210D48 #3E0D48 #480D35
triadic
#3E0D48 #483E0D #0D483E
tetradic
#3E0D48 #48210D #17480D #0D3548
square
#3E0D48 #48210D #17480D #0D3548
split-complementary
#3E0D48 #35480D #0D4821
monochromatic
#16051A #16051A #3E0D48 #6B167C #9720B0

Accessibility & contrast

On white

15.49
#3E0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D48
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D48#FFFFFF#000000##FFFFFF
##3E0D481.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#132647
Tritanopia (blue-blind)
#3E192A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e0d48;
/* rgb */ color: rgb(62, 13, 72);
/* oklch */ color: oklch(27.5% 0.110 320.2);
Tailwind
colors: {
  custom: {
    50: '#76527b',
    500: '#3e0d48',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d48;
$custom-light: #76527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d48",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 289.831,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27545,
    "c": 0.11006,
    "h": 320.2
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#3E0D48
secondary
#3C832D
accent
#EC3C5A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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