#3E164F#3E164F

#3E164F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.105 H 314.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#3E164F
RGBrgb(62, 22, 79)
HSLhsl(282, 56%, 20%)
HSVhsv(282, 72%, 31%)
CMYKcmyk(21.5%, 72.2%, 0%, 69%)
CIE-LABlab(16.32, 29.92, -26.69)
CIE-LCHlch(16.32, 40.09, 318.26°)
OKLaboklab(29.16% 0.0729 -0.0751)
OKLCHoklch(29.16% 0.105 314.2)
XYZxyz(3.6846, 2.1626, 7.6189)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164F #274F16
analogous
#21164F #3E164F #4F1644
triadic
#3E164F #4F3E16 #164F3E
tetradic
#3E164F #4F2116 #274F16 #16444F
square
#3E164F #4F2116 #274F16 #16444F
split-complementary
#3E164F #444F16 #164F21
monochromatic
#130718 #18091F #3E164F #64237F #8931AF

Accessibility & contrast

On white

14.66
#3E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E164F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E164F#FFFFFF#000000##FFFFFF
##3E164F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#14294E
Tritanopia (blue-blind)
#3C2130
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164f;
/* rgb */ color: rgb(62, 22, 79);
/* oklch */ color: oklch(29.2% 0.105 314.2);
Tailwind
colors: {
  custom: {
    50: '#765781',
    500: '#3e164f',
    950: '#000000',
  },
}
SCSS
$custom: #3e164f;
$custom-light: #765781;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164f",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 282.105,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.10467,
    "h": 314.2
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#3E164F
secondary
#51863A
accent
#E04875
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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