#4E1664#4E1664

#4E1664 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.134 H 314.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#4E1664
RGBrgb(78, 22, 100)
HSLhsl(283, 64%, 24%)
HSVhsv(283, 78%, 39%)
CMYKcmyk(22%, 78%, 0%, 60.8%)
CIE-LABlab(20.49, 38.74, -33.90)
CIE-LCHlch(20.49, 51.48, 318.81°)
OKLaboklab(33.18% 0.0938 -0.0956)
OKLCHoklch(33.18% 0.134 314.4)
XYZxyz(5.7287, 3.1138, 12.3534)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1664 #2C6416
analogous
#271664 #4E1664 #641653
triadic
#4E1664 #644E16 #16644E
tetradic
#4E1664 #642716 #2C6416 #165364
square
#4E1664 #642716 #2C6416 #165364
split-complementary
#4E1664 #536416 #166427
monochromatic
#140619 #270B32 #4E1664 #752196 #9C2CC8

Accessibility & contrast

On white

12.94
#4E1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1664
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1664#FFFFFF#000000##FFFFFF
##4E16641.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#123362
Tritanopia (blue-blind)
#4C273C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1664;
/* rgb */ color: rgb(78, 22, 100);
/* oklch */ color: oklch(33.2% 0.134 314.4);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4e1664',
    950: '#000000',
  },
}
SCSS
$custom: #4e1664;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1664",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 283.077,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3318,
    "c": 0.13394,
    "h": 314.4
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#4E1664
secondary
#569B3B
accent
#E74170
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1664

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

Preview Lab → · Contrast checker → · Palette generator →

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