#3E164C#3E164C

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

Color values

HEX#3E164C
RGBrgb(62, 22, 76)
HSLhsl(284, 55%, 19%)
HSVhsv(284, 71%, 30%)
CMYKcmyk(18.4%, 71.1%, 0%, 70.2%)
CIE-LABlab(16.10, 29.19, -24.98)
CIE-LCHlch(16.10, 38.42, 319.44°)
OKLaboklab(28.94% 0.0731 -0.0701)
OKLCHoklch(28.94% 0.101 316.2)
XYZxyz(3.5778, 2.1199, 7.0568)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164C #244C16
analogous
#23164C #3E164C #4C163F
triadic
#3E164C #4C3E16 #164C3E
tetradic
#3E164C #4C2316 #244C16 #163F4C
square
#3E164C #4C2316 #244C16 #163F4C
split-complementary
#3E164C #3F4C16 #164C23
monochromatic
#130718 #17081D #3E164C #65247B #8B31AB

Accessibility & contrast

On white

14.75
#3E164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E164C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E164C#FFFFFF#000000##FFFFFF
##3E164C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#16294B
Tritanopia (blue-blind)
#3D202E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164c;
/* rgb */ color: rgb(62, 22, 76);
/* oklch */ color: oklch(28.9% 0.101 316.2);
Tailwind
colors: {
  custom: {
    50: '#75567e',
    500: '#3e164c',
    950: '#000000',
  },
}
SCSS
$custom: #3e164c;
$custom-light: #75567e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164c",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 284.444,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28939,
    "c": 0.10123,
    "h": 316.2
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#3E164C
secondary
#4D843A
accent
#DE4970
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E164C

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

Preview Lab → · Contrast checker → · Palette generator →

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