#4E2860#4E2860

#4E2860 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.3% C 0.102 H 313.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2860
RGBrgb(78, 40, 96)
HSLhsl(281, 41%, 27%)
HSVhsv(281, 58%, 38%)
CMYKcmyk(18.7%, 58.3%, 0%, 62.4%)
CIE-LABlab(23.61, 28.47, -26.29)
CIE-LCHlch(23.61, 38.75, 317.29°)
OKLaboklab(35.35% 0.0702 -0.0735)
OKLCHoklch(35.35% 0.102 313.7)
XYZxyz(6.0116, 3.9820, 11.5160)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2860 #3A6028
analogous
#322860 #4E2860 #602856
triadic
#4E2860 #604E28 #28604E
tetradic
#4E2860 #603228 #3A6028 #285660
square
#4E2860 #603228 #3A6028 #285660
split-complementary
#4E2860 #566028 #286032
monochromatic
#120916 #2B1635 #4E2860 #713A8B #944DB5

Accessibility & contrast

On white

11.69
#4E2860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2860
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2860#FFFFFF#000000##FFFFFF
##4E28601.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193662
Deuteranopia (green-blind)
#26395F
Tritanopia (blue-blind)
#4C3140
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2860;
/* rgb */ color: rgb(78, 40, 96);
/* oklch */ color: oklch(35.3% 0.102 313.7);
Tailwind
colors: {
  custom: {
    50: '#81648d',
    500: '#4e2860',
    950: '#000000',
  },
}
SCSS
$custom: #4e2860;
$custom-light: #81648d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2860",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 280.714,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.10163,
    "h": 313.7
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#4E2860
secondary
#669351
accent
#D1577E
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2860

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

Preview Lab → · Contrast checker → · Palette generator →

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