#3E164A#3E164A

#3E164A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.099 H 317.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#3E164A
RGBrgb(62, 22, 74)
HSLhsl(286, 54%, 19%)
HSVhsv(286, 70%, 29%)
CMYKcmyk(16.2%, 70.3%, 0%, 71%)
CIE-LABlab(15.97, 28.71, -23.83)
CIE-LCHlch(15.97, 37.31, 320.31°)
OKLaboklab(28.79% 0.0731 -0.0667)
OKLCHoklch(28.79% 0.099 317.6)
XYZxyz(3.5094, 2.0925, 6.6963)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164A #224A16
analogous
#24164A #3E164A #4A163C
triadic
#3E164A #4A3E16 #164A3E
tetradic
#3E164A #4A2416 #224A16 #163C4A
square
#3E164A #4A2416 #224A16 #163C4A
split-complementary
#3E164A #3C4A16 #164A24
monochromatic
#140718 #16081B #3E164A #662479 #8D32A8

Accessibility & contrast

On white

14.81
#3E164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E164A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E164A#FFFFFF#000000##FFFFFF
##3E164A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06254C
Deuteranopia (green-blind)
#182949
Tritanopia (blue-blind)
#3E1F2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164a;
/* rgb */ color: rgb(62, 22, 74);
/* oklch */ color: oklch(28.8% 0.099 317.6);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3e164a',
    950: '#000000',
  },
}
SCSS
$custom: #3e164a;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164a",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 286.154,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.09896,
    "h": 317.6
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#3E164A
secondary
#4B823A
accent
#DE4A6C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3E164A

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

Preview Lab → · Contrast checker → · Palette generator →

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