#4E1658#4E1658

#4E1658 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.122 H 321.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4E1658
RGBrgb(78, 22, 88)
HSLhsl(291, 60%, 22%)
HSVhsv(291, 75%, 35%)
CMYKcmyk(11.4%, 75%, 0%, 65.5%)
CIE-LABlab(19.63, 36.10, -27.32)
CIE-LCHlch(19.63, 45.28, 322.88°)
OKLaboklab(32.29% 0.0949 -0.0764)
OKLCHoklch(32.29% 0.122 321.2)
XYZxyz(5.1900, 2.8984, 9.5167)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1658 #205816
analogous
#2D1658 #4E1658 #581641
triadic
#4E1658 #584E16 #16584E
tetradic
#4E1658 #582D16 #205816 #164158
square
#4E1658 #582D16 #205816 #164158
split-complementary
#4E1658 #415816 #16582D
monochromatic
#160618 #230A27 #4E1658 #792289 #A52EBA

Accessibility & contrast

On white

13.29
#4E1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1658
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1658#FFFFFF#000000##FFFFFF
##4E16581.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#1E3256
Tritanopia (blue-blind)
#4F2235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1658;
/* rgb */ color: rgb(78, 22, 88);
/* oklch */ color: oklch(32.3% 0.122 321.2);
Tailwind
colors: {
  custom: {
    50: '#825987',
    500: '#4e1658',
    950: '#000000',
  },
}
SCSS
$custom: #4e1658;
$custom-light: #825987;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1658",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 290.909,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.12184,
    "h": 321.2
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#4E1658
secondary
#478F3B
accent
#E3455D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1658

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

Preview Lab → · Contrast checker → · Palette generator →

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