#3E164D#3E164D

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

Color values

HEX#3E164D
RGBrgb(62, 22, 77)
HSLhsl(284, 56%, 19%)
HSVhsv(284, 71%, 30%)
CMYKcmyk(19.5%, 71.4%, 0%, 69.8%)
CIE-LABlab(16.17, 29.43, -25.56)
CIE-LCHlch(16.17, 38.98, 319.03°)
OKLaboklab(29.01% 0.073 -0.0717)
OKLCHoklch(29.01% 0.102 315.5)
XYZxyz(3.6129, 2.1339, 7.2413)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164D #254D16
analogous
#22164D #3E164D #4D1641
triadic
#3E164D #4D3E16 #164D3E
tetradic
#3E164D #4D2216 #254D16 #16414D
square
#3E164D #4D2216 #254D16 #16414D
split-complementary
#3E164D #414D16 #164D22
monochromatic
#130718 #18081D #3E164D #64247D #8B31AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E164D#FFFFFF#000000##FFFFFF
##3E164D1.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)
#02264F
Deuteranopia (green-blind)
#15294C
Tritanopia (blue-blind)
#3D202F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164d;
/* rgb */ color: rgb(62, 22, 77);
/* oklch */ color: oklch(29.0% 0.102 315.5);
Tailwind
colors: {
  custom: {
    50: '#75567f',
    500: '#3e164d',
    950: '#000000',
  },
}
SCSS
$custom: #3e164d;
$custom-light: #75567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164d",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 283.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29012,
    "c": 0.10237,
    "h": 315.5
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#3E164D
secondary
#4F853A
accent
#DF4972
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E164D

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

Preview Lab → · Contrast checker → · Palette generator →

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