#3E0547#3E0547

#3E0547 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.118 H 321.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#3E0547
RGBrgb(62, 5, 71)
HSLhsl(292, 87%, 15%)
HSVhsv(292, 93%, 28%)
CMYKcmyk(12.7%, 93%, 0%, 72.2%)
CIE-LABlab(13.16, 35.41, -26.26)
CIE-LCHlch(13.16, 44.08, 323.44°)
OKLaboklab(26.72% 0.0928 -0.0737)
OKLCHoklch(26.72% 0.119 321.6)
XYZxyz(3.1781, 1.5878, 6.0991)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0547 #0E4705
analogous
#1D0547 #3E0547 #47052F
triadic
#3E0547 #473E05 #05473E
tetradic
#3E0547 #471D05 #0E4705 #052F47
square
#3E0547 #471D05 #0E4705 #052F47
split-complementary
#3E0547 #2F4705 #05471D
monochromatic
#19021D #19021D #3E0547 #700980 #A20DB9

Accessibility & contrast

On white

15.94
#3E0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0547
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0547#FFFFFF#000000##FFFFFF
##3E05471.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#3F1427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0547;
/* rgb */ color: rgb(62, 5, 71);
/* oklch */ color: oklch(26.7% 0.118 321.6);
Tailwind
colors: {
  custom: {
    50: '#764e7b',
    500: '#3e0547',
    950: '#000000',
  },
}
SCSS
$custom: #3e0547;
$custom-light: #764e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0547",
  "rgb": {
    "r": 62,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 291.818,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26721,
    "c": 0.1185,
    "h": 321.6
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#3E0547
secondary
#2F8721
accent
#FD2B47
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0547

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

Preview Lab → · Contrast checker → · Palette generator →

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