#4E2960#4E2960

#4E2960 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.5% C 0.100 H 313.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2960
RGBrgb(78, 41, 96)
HSLhsl(280, 40%, 27%)
HSVhsv(280, 57%, 38%)
CMYKcmyk(18.7%, 57.3%, 0%, 62.4%)
CIE-LABlab(23.84, 27.88, -25.93)
CIE-LCHlch(23.84, 38.07, 317.08°)
OKLaboklab(35.51% 0.0687 -0.0724)
OKLCHoklch(35.51% 0.1 313.5)
XYZxyz(6.0458, 4.0503, 11.5274)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2960 #3B6029
analogous
#332960 #4E2960 #602957
triadic
#4E2960 #604E29 #29604E
tetradic
#4E2960 #603329 #3B6029 #295760
square
#4E2960 #603329 #3B6029 #295760
split-complementary
#4E2960 #576029 #296033
monochromatic
#110915 #2B1735 #4E2960 #713B8B #934FB4

Accessibility & contrast

On white

11.60
#4E2960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2960
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2960#FFFFFF#000000##FFFFFF
##4E29601.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3762
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#4C3240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2960;
/* rgb */ color: rgb(78, 41, 96);
/* oklch */ color: oklch(35.5% 0.100 313.5);
Tailwind
colors: {
  custom: {
    50: '#81648d',
    500: '#4e2960',
    950: '#000000',
  },
}
SCSS
$custom: #4e2960;
$custom-light: #81648d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2960",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 280.364,
    "s": 40.146,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.09983,
    "h": 313.5
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#4E2960
secondary
#679352
accent
#D0587F
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2960

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

Preview Lab → · Contrast checker → · Palette generator →

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