#4E2A58#4E2A58

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

Color values

HEX#4E2A58
RGBrgb(78, 42, 88)
HSLhsl(287, 35%, 25%)
HSVhsv(287, 52%, 35%)
CMYKcmyk(11.4%, 52.3%, 0%, 65.5%)
CIE-LABlab(23.61, 25.35, -21.03)
CIE-LCHlch(23.61, 32.93, 320.32°)
OKLaboklab(35.19% 0.0661 -0.0582)
OKLCHoklch(35.19% 0.088 318.6)
XYZxyz(5.7311, 3.9804, 9.6970)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A58 #34582A
analogous
#372A58 #4E2A58 #582A4B
triadic
#4E2A58 #584E2A #2A584E
tetradic
#4E2A58 #58372A #34582A #2A4B58
square
#4E2A58 #58372A #34582A #2A4B58
split-complementary
#4E2A58 #4B582A #2A5837
monochromatic
#120A15 #29162F #4E2A58 #733E81 #9752AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2A58#FFFFFF#000000##FFFFFF
##4E2A581.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)
#22365A
Deuteranopia (green-blind)
#2C3957
Tritanopia (blue-blind)
#4E303D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2a58;
/* rgb */ color: rgb(78, 42, 88);
/* oklch */ color: oklch(35.2% 0.088 318.6);
Tailwind
colors: {
  custom: {
    50: '#816587',
    500: '#4e2a58',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a58;
$custom-light: #816587;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a58",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 286.957,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.08808,
    "h": 318.6
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#4E2A58
secondary
#5F8A53
accent
#CB5C75
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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