#4E1659#4E1659

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

Color values

HEX#4E1659
RGBrgb(78, 22, 89)
HSLhsl(290, 60%, 22%)
HSVhsv(290, 75%, 35%)
CMYKcmyk(12.4%, 75.3%, 0%, 65.1%)
CIE-LABlab(19.70, 36.32, -27.88)
CIE-LCHlch(19.70, 45.79, 322.48°)
OKLaboklab(32.36% 0.0949 -0.078)
OKLCHoklch(32.36% 0.123 320.6)
XYZxyz(5.2318, 2.9151, 9.7363)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1659 #215916
analogous
#2D1659 #4E1659 #591643
triadic
#4E1659 #594E16 #16594E
tetradic
#4E1659 #592D16 #215916 #164359
square
#4E1659 #592D16 #215916 #164359
split-complementary
#4E1659 #435916 #16592D
monochromatic
#160619 #230A28 #4E1659 #79228A #A42EBB

Accessibility & contrast

On white

13.27
#4E1659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1659
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1659#FFFFFF#000000##FFFFFF
##4E16591.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#4E2236
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1659;
/* rgb */ color: rgb(78, 22, 89);
/* oklch */ color: oklch(32.4% 0.123 320.6);
Tailwind
colors: {
  custom: {
    50: '#825988',
    500: '#4e1659',
    950: '#000000',
  },
}
SCSS
$custom: #4e1659;
$custom-light: #825988;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1659",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 290.149,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.12283,
    "h": 320.6
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#4E1659
secondary
#49903B
accent
#E4445E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1659

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

Preview Lab → · Contrast checker → · Palette generator →

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