#4E0F60#4E0F60

#4E0F60 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.138 H 317.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4E0F60
RGBrgb(78, 15, 96)
HSLhsl(287, 73%, 22%)
HSVhsv(287, 84%, 38%)
CMYKcmyk(18.7%, 84.4%, 0%, 62.4%)
CIE-LABlab(19.25, 40.56, -33.27)
CIE-LCHlch(19.25, 52.46, 320.64°)
OKLaboklab(32.21% 0.1013 -0.0937)
OKLCHoklch(32.21% 0.138 317.2)
XYZxyz(5.4237, 2.8061, 11.3200)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F60 #21600F
analogous
#260F60 #4E0F60 #600F4A
triadic
#4E0F60 #604E0F #0F604E
tetradic
#4E0F60 #60260F #21600F #0F4A60
square
#4E0F60 #60260F #21600F #0F4A60
split-complementary
#4E0F60 #4A600F #0F6026
monochromatic
#16041A #23072B #4E0F60 #791795 #A420CA

Accessibility & contrast

On white

13.45
#4E0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F60
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F60#FFFFFF#000000##FFFFFF
##4E0F601.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#11305E
Tritanopia (blue-blind)
#4D2238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e0f60;
/* rgb */ color: rgb(78, 15, 96);
/* oklch */ color: oklch(32.2% 0.138 317.2);
Tailwind
colors: {
  custom: {
    50: '#83568e',
    500: '#4e0f60',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f60;
$custom-light: #83568e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f60",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 286.667,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32205,
    "c": 0.13797,
    "h": 317.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#4E0F60
secondary
#499932
accent
#F03861
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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