#4E2760#4E2760

#4E2760 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.103 H 313.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4E2760
RGBrgb(78, 39, 96)
HSLhsl(281, 42%, 26%)
HSVhsv(281, 59%, 38%)
CMYKcmyk(18.7%, 59.4%, 0%, 62.4%)
CIE-LABlab(23.39, 29.06, -26.64)
CIE-LCHlch(23.39, 39.42, 317.49°)
OKLaboklab(35.18% 0.0717 -0.0745)
OKLCHoklch(35.18% 0.103 313.9)
XYZxyz(5.9784, 3.9154, 11.5049)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2760 #396027
analogous
#322760 #4E2760 #602756
triadic
#4E2760 #604E27 #27604E
tetradic
#4E2760 #603227 #396027 #275660
square
#4E2760 #603227 #396027 #275660
split-complementary
#4E2760 #566027 #276032
monochromatic
#120916 #2B1534 #4E2760 #71398C #944BB6

Accessibility & contrast

On white

11.78
#4E2760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2760
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2760#FFFFFF#000000##FFFFFF
##4E27601.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183662
Deuteranopia (green-blind)
#25395F
Tritanopia (blue-blind)
#4C313F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2760;
/* rgb */ color: rgb(78, 39, 96);
/* oklch */ color: oklch(35.2% 0.103 313.9);
Tailwind
colors: {
  custom: {
    50: '#81638d',
    500: '#4e2760',
    950: '#000000',
  },
}
SCSS
$custom: #4e2760;
$custom-light: #81638d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2760",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 281.053,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.10341,
    "h": 313.9
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#4E2760
secondary
#659350
accent
#D2567D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2760

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

Preview Lab → · Contrast checker → · Palette generator →

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