#3E0D52#3E0D52

#3E0D52 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.3% C 0.120 H 313.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3E0D52
RGBrgb(62, 13, 82)
HSLhsl(283, 73%, 19%)
HSVhsv(283, 84%, 32%)
CMYKcmyk(24.4%, 84.1%, 0%, 67.8%)
CIE-LABlab(15.07, 34.82, -30.75)
CIE-LCHlch(15.07, 46.46, 318.55°)
OKLaboklab(28.35% 0.083 -0.0869)
OKLCHoklch(28.35% 0.12 313.7)
XYZxyz(3.6533, 1.9213, 8.1594)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D52 #21520D
analogous
#1B0D52 #3E0D52 #520D43
triadic
#3E0D52 #523E0D #0D523E
tetradic
#3E0D52 #521B0D #21520D #0D4352
square
#3E0D52 #521B0D #21520D #0D4352
split-complementary
#3E0D52 #43520D #0D521B
monochromatic
#14041A #16051D #3E0D52 #661587 #8E1EBC

Accessibility & contrast

On white

15.17
#3E0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3E0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D52
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D52#FFFFFF#000000##FFFFFF
##3E0D521.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#3C1D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0d52;
/* rgb */ color: rgb(62, 13, 82);
/* oklch */ color: oklch(28.3% 0.120 313.7);
Tailwind
colors: {
  custom: {
    50: '#765283',
    500: '#3e0d52',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d52;
$custom-light: #765283;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d52",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 282.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28346,
    "c": 0.1202,
    "h": 313.7
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#3E0D52
secondary
#498D2E
accent
#EF386D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3E0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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