#4E1654#4E1654

#4E1654 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.118 H 323.7°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4E1654
RGBrgb(78, 22, 84)
HSLhsl(294, 58%, 21%)
HSVhsv(294, 74%, 33%)
CMYKcmyk(7.1%, 73.8%, 0%, 67.1%)
CIE-LABlab(19.37, 35.27, -25.06)
CIE-LCHlch(19.37, 43.26, 324.60°)
OKLaboklab(32.01% 0.0951 -0.0698)
OKLCHoklch(32.01% 0.118 323.7)
XYZxyz(5.0289, 2.8339, 8.6679)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1654 #1C5416
analogous
#2F1654 #4E1654 #54163B
triadic
#4E1654 #544E16 #16544E
tetradic
#4E1654 #542F16 #1C5416 #163B54
square
#4E1654 #542F16 #1C5416 #163B54
split-complementary
#4E1654 #3B5416 #16542F
monochromatic
#170618 #210924 #4E1654 #7B2384 #A82FB5

Accessibility & contrast

On white

13.40
#4E1654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1654
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1654#FFFFFF#000000##FFFFFF
##4E16541.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062B56
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#4F2033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1654;
/* rgb */ color: rgb(78, 22, 84);
/* oklch */ color: oklch(32.0% 0.118 323.7);
Tailwind
colors: {
  custom: {
    50: '#825984',
    500: '#4e1654',
    950: '#000000',
  },
}
SCSS
$custom: #4e1654;
$custom-light: #825984;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1654",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 294.194,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.11791,
    "h": 323.7
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#4E1654
secondary
#428B3A
accent
#E24655
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1654

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

Preview Lab → · Contrast checker → · Palette generator →

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