#4E2560#4E2560

#4E2560 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.9% C 0.107 H 314.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2560
RGBrgb(78, 37, 96)
HSLhsl(282, 44%, 26%)
HSVhsv(282, 61%, 38%)
CMYKcmyk(18.7%, 61.5%, 0%, 62.4%)
CIE-LABlab(22.96, 30.22, -27.33)
CIE-LCHlch(22.96, 40.74, 317.88°)
OKLaboklab(34.87% 0.0747 -0.0765)
OKLCHoklch(34.87% 0.107 314.3)
XYZxyz(5.9144, 3.7875, 11.4836)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2560 #376025
analogous
#302560 #4E2560 #602554
triadic
#4E2560 #604E25 #25604E
tetradic
#4E2560 #603025 #376025 #255460
square
#4E2560 #603025 #376025 #255460
split-complementary
#4E2560 #546025 #256030
monochromatic
#120916 #2A1434 #4E2560 #72368C #9647B8

Accessibility & contrast

On white

11.95
#4E2560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2560
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2560#FFFFFF#000000##FFFFFF
##4E25601.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143462
Deuteranopia (green-blind)
#24385F
Tritanopia (blue-blind)
#4D2F3E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2560;
/* rgb */ color: rgb(78, 37, 96);
/* oklch */ color: oklch(34.9% 0.107 314.3);
Tailwind
colors: {
  custom: {
    50: '#81628d',
    500: '#4e2560',
    950: '#000000',
  },
}
SCSS
$custom: #4e2560;
$custom-light: #81628d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2560",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 281.695,
    "s": 44.361,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34866,
    "c": 0.10692,
    "h": 314.3
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#4E2560
secondary
#63934D
accent
#D4547B
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4E2560

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

Preview Lab → · Contrast checker → · Palette generator →

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