#4E1460#4E1460

#4E1460 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.132 H 316.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#4E1460
RGBrgb(78, 20, 96)
HSLhsl(286, 66%, 23%)
HSVhsv(286, 79%, 38%)
CMYKcmyk(18.7%, 79.2%, 0%, 62.4%)
CIE-LABlab(19.90, 38.68, -32.22)
CIE-LCHlch(19.90, 50.34, 320.21°)
OKLaboklab(32.67% 0.0964 -0.0907)
OKLCHoklch(32.67% 0.132 316.8)
XYZxyz(5.5030, 2.9648, 11.3464)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1460 #266014
analogous
#281460 #4E1460 #60144C
triadic
#4E1460 #604E14 #14604E
tetradic
#4E1460 #602814 #266014 #144C60
square
#4E1460 #602814 #266014 #144C60
split-complementary
#4E1460 #4C6014 #146028
monochromatic
#150519 #25092D #4E1460 #771F93 #A029C5

Accessibility & contrast

On white

13.18
#4E1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1460
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1460#FFFFFF#000000##FFFFFF
##4E14601.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#4D2439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1460;
/* rgb */ color: rgb(78, 20, 96);
/* oklch */ color: oklch(32.7% 0.132 316.8);
Tailwind
colors: {
  custom: {
    50: '#83588e',
    500: '#4e1460',
    950: '#000000',
  },
}
SCSS
$custom: #4e1460;
$custom-light: #83588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1460",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 285.789,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32665,
    "c": 0.13238,
    "h": 316.8
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#4E1460
secondary
#4F9838
accent
#E83F67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1460

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

Preview Lab → · Contrast checker → · Palette generator →

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