#3E0D4E#3E0D4E

#3E0D4E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.116 H 316.2°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#3E0D4E
RGBrgb(62, 13, 78)
HSLhsl(285, 71%, 18%)
HSVhsv(285, 83%, 31%)
CMYKcmyk(20.5%, 83.3%, 0%, 69.4%)
CIE-LABlab(14.75, 33.90, -28.54)
CIE-LCHlch(14.75, 44.32, 319.91°)
OKLaboklab(28.02% 0.0838 -0.0804)
OKLCHoklch(28.02% 0.116 316.2)
XYZxyz(3.5055, 1.8622, 7.3810)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D4E #1D4E0D
analogous
#1D0D4E #3E0D4E #4E0D3D
triadic
#3E0D4E #4E3E0D #0D4E3E
tetradic
#3E0D4E #4E1D0D #1D4E0D #0D3D4E
square
#3E0D4E #4E1D0D #1D4E0D #0D3D4E
split-complementary
#3E0D4E #3D4E0D #0D4E1D
monochromatic
#15041A #15041A #3E0D4E #681682 #911EB7

Accessibility & contrast

On white

15.30
#3E0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0D4E
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D4E#FFFFFF#000000##FFFFFF
##3E0D4E1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#0C264D
Tritanopia (blue-blind)
#3D1B2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0d4e;
/* rgb */ color: rgb(62, 13, 78);
/* oklch */ color: oklch(28.0% 0.116 316.2);
Tailwind
colors: {
  custom: {
    50: '#765280',
    500: '#3e0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d4e;
$custom-light: #765280;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d4e",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 285.231,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28016,
    "c": 0.11611,
    "h": 316.2
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#3E0D4E
secondary
#44892E
accent
#EE3A66
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3E0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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