#3E1547#3E1547

#3E1547 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.097 H 320.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#3E1547
RGBrgb(62, 21, 71)
HSLhsl(289, 54%, 18%)
HSVhsv(289, 70%, 28%)
CMYKcmyk(12.7%, 70.4%, 0%, 72.2%)
CIE-LABlab(15.57, 28.54, -22.39)
CIE-LCHlch(15.57, 36.28, 321.89°)
OKLaboklab(28.44% 0.0745 -0.0625)
OKLCHoklch(28.44% 0.097 320)
XYZxyz(3.3920, 2.0156, 6.1704)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1547 #1E4715
analogous
#251547 #3E1547 #471537
triadic
#3E1547 #473E15 #15473E
tetradic
#3E1547 #472515 #1E4715 #153747
square
#3E1547 #472515 #1E4715 #153747
split-complementary
#3E1547 #374715 #154725
monochromatic
#150718 #150718 #3E1547 #672376 #9031A5

Accessibility & contrast

On white

14.97
#3E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1547
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1547#FFFFFF#000000##FFFFFF
##3E15471.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#3E1D2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1547;
/* rgb */ color: rgb(62, 21, 71);
/* oklch */ color: oklch(28.4% 0.097 320.0);
Tailwind
colors: {
  custom: {
    50: '#75567a',
    500: '#3e1547',
    950: '#000000',
  },
}
SCSS
$custom: #3e1547;
$custom-light: #75567a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1547",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 289.2,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28441,
    "c": 0.09724,
    "h": 320
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#3E1547
secondary
#467F39
accent
#DE4A65
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1547

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

Preview Lab → · Contrast checker → · Palette generator →

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