#4E2A50#4E2A50

#4E2A50 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.7% C 0.079 H 325.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2A50
RGBrgb(78, 42, 80)
HSLhsl(297, 31%, 24%)
HSVhsv(297, 48%, 31%)
CMYKcmyk(2.5%, 47.5%, 0%, 68.6%)
CIE-LABlab(23.19, 23.52, -16.37)
CIE-LCHlch(23.19, 28.65, 325.17°)
OKLaboklab(34.74% 0.0645 -0.0448)
OKLCHoklch(34.74% 0.079 325.2)
XYZxyz(5.4177, 3.8551, 8.0466)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A50 #2C502A
analogous
#3B2A50 #4E2A50 #502A3F
triadic
#4E2A50 #504E2A #2A504E
tetradic
#4E2A50 #503B2A #2C502A #2A3F50
square
#4E2A50 #503B2A #2C502A #2A3F50
split-complementary
#4E2A50 #3F502A #2A503B
monochromatic
#140B14 #271528 #4E2A50 #753F78 #9C54A0

Accessibility & contrast

On white

11.86
#4E2A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A50
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A50#FFFFFF#000000##FFFFFF
##4E2A501.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263451
Deuteranopia (green-blind)
#30394F
Tritanopia (blue-blind)
#502E39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2a50;
/* rgb */ color: rgb(78, 42, 80);
/* oklch */ color: oklch(34.7% 0.079 325.2);
Tailwind
colors: {
  custom: {
    50: '#806581',
    500: '#4e2a50',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a50;
$custom-light: #806581;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a50",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 296.842,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34741,
    "c": 0.07855,
    "h": 325.2
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#4E2A50
secondary
#568254
accent
#C76066
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2A50

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

Preview Lab → · Contrast checker → · Palette generator →

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