#4E1760#4E1760

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

Color values

HEX#4E1760
RGBrgb(78, 23, 96)
HSLhsl(285, 61%, 23%)
HSVhsv(285, 76%, 38%)
CMYKcmyk(18.7%, 76%, 0%, 62.4%)
CIE-LABlab(20.35, 37.40, -31.49)
CIE-LCHlch(20.35, 48.90, 319.90°)
OKLaboklab(32.98% 0.0932 -0.0886)
OKLCHoklch(32.98% 0.129 316.4)
XYZxyz(5.5593, 3.0772, 11.3652)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1760 #296017
analogous
#291760 #4E1760 #60174D
triadic
#4E1760 #604E17 #17604E
tetradic
#4E1760 #602917 #296017 #174D60
square
#4E1760 #602917 #296017 #174D60
split-complementary
#4E1760 #4D6017 #176029
monochromatic
#140619 #260B2F #4E1760 #762391 #9E2FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E1760#FFFFFF#000000##FFFFFF
##4E17601.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)
#002E62
Deuteranopia (green-blind)
#17335E
Tritanopia (blue-blind)
#4D263A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1760;
/* rgb */ color: rgb(78, 23, 96);
/* oklch */ color: oklch(33.0% 0.129 316.4);
Tailwind
colors: {
  custom: {
    50: '#825a8e',
    500: '#4e1760',
    950: '#000000',
  },
}
SCSS
$custom: #4e1760;
$custom-light: #825a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1760",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 285.205,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32984,
    "c": 0.12856,
    "h": 316.4
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#4E1760
secondary
#52973C
accent
#E4436B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1760

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

Preview Lab → · Contrast checker → · Palette generator →

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