#3E1447#3E1447

#3E1447 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.099 H 320.1°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3E1447
RGBrgb(62, 20, 71)
HSLhsl(289, 56%, 18%)
HSVhsv(289, 72%, 28%)
CMYKcmyk(12.7%, 71.8%, 0%, 72.2%)
CIE-LABlab(15.38, 29.07, -22.69)
CIE-LCHlch(15.38, 36.88, 322.02°)
OKLaboklab(28.31% 0.0759 -0.0634)
OKLCHoklch(28.31% 0.099 320.1)
XYZxyz(3.3740, 1.9795, 6.1644)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1447 #1D4714
analogous
#241447 #3E1447 #471436
triadic
#3E1447 #473E14 #14473E
tetradic
#3E1447 #472414 #1D4714 #143647
square
#3E1447 #472414 #1D4714 #143647
split-complementary
#3E1447 #364714 #144724
monochromatic
#150718 #150718 #3E1447 #682177 #912FA6

Accessibility & contrast

On white

15.05
#3E1447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1447
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1447#FFFFFF#000000##FFFFFF
##3E14471.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#182846
Tritanopia (blue-blind)
#3E1D2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e1447;
/* rgb */ color: rgb(62, 20, 71);
/* oklch */ color: oklch(28.3% 0.099 320.1);
Tailwind
colors: {
  custom: {
    50: '#75557a',
    500: '#3e1447',
    950: '#000000',
  },
}
SCSS
$custom: #3e1447;
$custom-light: #75557a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1447",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 289.412,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.09887,
    "h": 320.1
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#3E1447
secondary
#447F38
accent
#DF4863
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E1447

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

Preview Lab → · Contrast checker → · Palette generator →

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