#3E1847#3E1847

#3E1847 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.092 H 319.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#3E1847
RGBrgb(62, 24, 71)
HSLhsl(289, 49%, 19%)
HSVhsv(289, 66%, 28%)
CMYKcmyk(12.7%, 66.2%, 0%, 72.2%)
CIE-LABlab(16.17, 26.90, -21.44)
CIE-LCHlch(16.17, 34.40, 321.45°)
OKLaboklab(28.88% 0.0701 -0.0597)
OKLCHoklch(28.88% 0.092 319.6)
XYZxyz(3.4504, 2.1325, 6.1899)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1847 #214718
analogous
#261847 #3E1847 #471838
triadic
#3E1847 #473E18 #18473E
tetradic
#3E1847 #472618 #214718 #183847
square
#3E1847 #472618 #214718 #183847
split-complementary
#3E1847 #384718 #184726
monochromatic
#140817 #160919 #3E1847 #662775 #8E37A2

Accessibility & contrast

On white

14.72
#3E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1847
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1847#FFFFFF#000000##FFFFFF
##3E18471.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2648
Deuteranopia (green-blind)
#1B2946
Tritanopia (blue-blind)
#3E1F2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1847;
/* rgb */ color: rgb(62, 24, 71);
/* oklch */ color: oklch(28.9% 0.092 319.6);
Tailwind
colors: {
  custom: {
    50: '#75577a',
    500: '#3e1847',
    950: '#000000',
  },
}
SCSS
$custom: #3e1847;
$custom-light: #75577a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1847",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 288.511,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28876,
    "c": 0.09211,
    "h": 319.6
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#3E1847
secondary
#497E3D
accent
#D94F69
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1847

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

Preview Lab → · Contrast checker → · Palette generator →

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