#4E165A#4E165A

#4E165A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.124 H 320.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4E165A
RGBrgb(78, 22, 90)
HSLhsl(289, 61%, 22%)
HSVhsv(289, 76%, 35%)
CMYKcmyk(13.3%, 75.6%, 0%, 64.7%)
CIE-LABlab(19.77, 36.53, -28.44)
CIE-LCHlch(19.77, 46.30, 322.10°)
OKLaboklab(32.43% 0.0948 -0.0796)
OKLCHoklch(32.43% 0.124 320)
XYZxyz(5.2740, 2.9320, 9.9590)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E165A #225A16
analogous
#2C165A #4E165A #5A1644
triadic
#4E165A #5A4E16 #165A4E
tetradic
#4E165A #5A2C16 #225A16 #16445A
square
#4E165A #5A2C16 #225A16 #16445A
split-complementary
#4E165A #445A16 #165A2C
monochromatic
#150619 #230A29 #4E165A #79228B #A32EBC

Accessibility & contrast

On white

13.24
#4E165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E165A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E165A#FFFFFF#000000##FFFFFF
##4E165A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#4E2336
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e165a;
/* rgb */ color: rgb(78, 22, 90);
/* oklch */ color: oklch(32.4% 0.124 320.0);
Tailwind
colors: {
  custom: {
    50: '#825989',
    500: '#4e165a',
    950: '#000000',
  },
}
SCSS
$custom: #4e165a;
$custom-light: #825989;
$custom-dark: #000000;
JSON
{
  "hex": "#4e165a",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 289.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32433,
    "c": 0.12383,
    "h": 320
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#4E165A
secondary
#4A913B
accent
#E44460
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E165A

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

Preview Lab → · Contrast checker → · Palette generator →

#4E165A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva