#3E164B#3E164B

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

Color values

HEX#3E164B
RGBrgb(62, 22, 75)
HSLhsl(285, 55%, 19%)
HSVhsv(285, 71%, 29%)
CMYKcmyk(17.3%, 70.7%, 0%, 70.6%)
CIE-LABlab(16.03, 28.95, -24.41)
CIE-LCHlch(16.03, 37.87, 319.86°)
OKLaboklab(28.87% 0.0731 -0.0684)
OKLCHoklch(28.87% 0.1 316.9)
XYZxyz(3.5433, 2.1061, 6.8751)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164B #234B16
analogous
#24164B #3E164B #4B163E
triadic
#3E164B #4B3E16 #164B3E
tetradic
#3E164B #4B2416 #234B16 #163E4B
square
#3E164B #4B2416 #234B16 #163E4B
split-complementary
#3E164B #3E4B16 #164B24
monochromatic
#140718 #17081C #3E164B #65247A #8C32AA

Accessibility & contrast

On white

14.78
#3E164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E164B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E164B#FFFFFF#000000##FFFFFF
##3E164B1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254D
Deuteranopia (green-blind)
#17294A
Tritanopia (blue-blind)
#3D202E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164b;
/* rgb */ color: rgb(62, 22, 75);
/* oklch */ color: oklch(28.9% 0.100 316.9);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3e164b',
    950: '#000000',
  },
}
SCSS
$custom: #3e164b;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164b",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 285.283,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.1001,
    "h": 316.9
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#3E164B
secondary
#4C833A
accent
#DE4A6E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E164B

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

Preview Lab → · Contrast checker → · Palette generator →

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