#4E1657#4E1657

#4E1657 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.121 H 321.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4E1657
RGBrgb(78, 22, 87)
HSLhsl(292, 60%, 21%)
HSVhsv(292, 75%, 34%)
CMYKcmyk(10.3%, 74.7%, 0%, 65.9%)
CIE-LABlab(19.56, 35.89, -26.76)
CIE-LCHlch(19.56, 44.77, 323.29°)
OKLaboklab(32.22% 0.095 -0.0747)
OKLCHoklch(32.22% 0.121 321.8)
XYZxyz(5.1489, 2.8819, 9.3000)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1657 #1F5716
analogous
#2E1657 #4E1657 #571640
triadic
#4E1657 #574E16 #16574E
tetradic
#4E1657 #572E16 #1F5716 #164057
square
#4E1657 #572E16 #1F5716 #164057
split-complementary
#4E1657 #405716 #16572E
monochromatic
#160618 #220A26 #4E1657 #7A2288 #A62FB9

Accessibility & contrast

On white

13.32
#4E1657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1657
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1657#FFFFFF#000000##FFFFFF
##4E16571.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B59
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#4F2134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1657;
/* rgb */ color: rgb(78, 22, 87);
/* oklch */ color: oklch(32.2% 0.121 321.8);
Tailwind
colors: {
  custom: {
    50: '#825987',
    500: '#4e1657',
    950: '#000000',
  },
}
SCSS
$custom: #4e1657;
$custom-light: #825987;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1657",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 291.692,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32221,
    "c": 0.12085,
    "h": 321.8
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#4E1657
secondary
#468E3A
accent
#E3455B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1657

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

Preview Lab → · Contrast checker → · Palette generator →

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