#4E2959#4E2959

#4E2959 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.1% C 0.091 H 318.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2959
RGBrgb(78, 41, 89)
HSLhsl(286, 37%, 25%)
HSVhsv(286, 54%, 35%)
CMYKcmyk(12.4%, 53.9%, 0%, 65.1%)
CIE-LABlab(23.43, 26.19, -21.97)
CIE-LCHlch(23.43, 34.18, 320.01°)
OKLaboklab(35.08% 0.0678 -0.0609)
OKLCHoklch(35.08% 0.091 318.1)
XYZxyz(5.7377, 3.9270, 9.9050)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2959 #345929
analogous
#362959 #4E2959 #59294C
triadic
#4E2959 #594E29 #29594E
tetradic
#4E2959 #593629 #345929 #294C59
square
#4E2959 #593629 #345929 #294C59
split-complementary
#4E2959 #4C5929 #295936
monochromatic
#120A15 #29162F #4E2959 #733C83 #9750AD

Accessibility & contrast

On white

11.76
#4E2959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2959
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2959#FFFFFF#000000##FFFFFF
##4E29591.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#4E303D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2959;
/* rgb */ color: rgb(78, 41, 89);
/* oklch */ color: oklch(35.1% 0.091 318.1);
Tailwind
colors: {
  custom: {
    50: '#816488',
    500: '#4e2959',
    950: '#000000',
  },
}
SCSS
$custom: #4e2959;
$custom-light: #816488;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2959",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 286.25,
    "s": 36.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.0912,
    "h": 318.1
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#4E2959
secondary
#5F8C52
accent
#CD5B75
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E2959

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

Preview Lab → · Contrast checker → · Palette generator →

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