#3E164E#3E164E

#3E164E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.104 H 314.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3E164E
RGBrgb(62, 22, 78)
HSLhsl(283, 56%, 20%)
HSVhsv(283, 72%, 31%)
CMYKcmyk(20.5%, 71.8%, 0%, 69.4%)
CIE-LABlab(16.25, 29.67, -26.13)
CIE-LCHlch(16.25, 39.54, 318.64°)
OKLaboklab(29.09% 0.073 -0.0734)
OKLCHoklch(29.09% 0.104 314.8)
XYZxyz(3.6484, 2.1481, 7.4287)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E164E #264E16
analogous
#22164E #3E164E #4E1642
triadic
#3E164E #4E3E16 #164E3E
tetradic
#3E164E #4E2216 #264E16 #16424E
square
#3E164E #4E2216 #264E16 #16424E
split-complementary
#3E164E #424E16 #164E22
monochromatic
#130718 #18091E #3E164E #64237E #8A31AD

Accessibility & contrast

On white

14.69
#3E164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E164E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E164E#FFFFFF#000000##FFFFFF
##3E164E1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#3D212F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e164e;
/* rgb */ color: rgb(62, 22, 78);
/* oklch */ color: oklch(29.1% 0.104 314.8);
Tailwind
colors: {
  custom: {
    50: '#755680',
    500: '#3e164e',
    950: '#000000',
  },
}
SCSS
$custom: #3e164e;
$custom-light: #755680;
$custom-dark: #000000;
JSON
{
  "hex": "#3e164e",
  "rgb": {
    "r": 62,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 282.857,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29087,
    "c": 0.10352,
    "h": 314.8
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#3E164E
secondary
#50853A
accent
#DF4974
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E164E

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

Preview Lab → · Contrast checker → · Palette generator →

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