#4E1662#4E1662

#4E1662 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.132 H 315.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1662
RGBrgb(78, 22, 98)
HSLhsl(284, 63%, 24%)
HSVhsv(284, 78%, 38%)
CMYKcmyk(20.4%, 77.6%, 0%, 61.6%)
CIE-LABlab(20.34, 38.29, -32.83)
CIE-LCHlch(20.34, 50.43, 319.39°)
OKLaboklab(33.03% 0.0941 -0.0925)
OKLCHoklch(33.03% 0.132 315.5)
XYZxyz(5.6330, 3.0756, 11.8498)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1662 #2A6216
analogous
#281662 #4E1662 #621650
triadic
#4E1662 #624E16 #16624E
tetradic
#4E1662 #622816 #2A6216 #165062
square
#4E1662 #622816 #2A6216 #165062
split-complementary
#4E1662 #506216 #166228
monochromatic
#140619 #260B30 #4E1662 #762194 #9E2CC6

Accessibility & contrast

On white

13.00
#4E1662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1662
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1662#FFFFFF#000000##FFFFFF
##4E16621.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#143360
Tritanopia (blue-blind)
#4C263B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1662;
/* rgb */ color: rgb(78, 22, 98);
/* oklch */ color: oklch(33.0% 0.132 315.5);
Tailwind
colors: {
  custom: {
    50: '#83598f',
    500: '#4e1662',
    950: '#000000',
  },
}
SCSS
$custom: #4e1662;
$custom-light: #83598f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1662",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 98
  },
  "hsl": {
    "h": 284.211,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.1319,
    "h": 315.5
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#4E1662
secondary
#54993B
accent
#E6416D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1662

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

Preview Lab → · Contrast checker → · Palette generator →

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