#4E2A56#4E2A56

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

Color values

HEX#4E2A56
RGBrgb(78, 42, 86)
HSLhsl(289, 34%, 25%)
HSVhsv(289, 51%, 34%)
CMYKcmyk(9.3%, 51.2%, 0%, 66.3%)
CIE-LABlab(23.50, 24.88, -19.87)
CIE-LCHlch(23.50, 31.84, 321.38°)
OKLaboklab(35.08% 0.0657 -0.0549)
OKLCHoklch(35.08% 0.086 320.1)
XYZxyz(5.6494, 3.9477, 9.2667)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A56 #32562A
analogous
#382A56 #4E2A56 #562A48
triadic
#4E2A56 #564E2A #2A564E
tetradic
#4E2A56 #56382A #32562A #2A4856
square
#4E2A56 #56382A #32562A #2A4856
split-complementary
#4E2A56 #48562A #2A5638
monochromatic
#130A15 #29162D #4E2A56 #733E7F #9952A8

Accessibility & contrast

On white

11.73
#4E2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2A56
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A56#FFFFFF#000000##FFFFFF
##4E2A561.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233558
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#4F303C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2a56;
/* rgb */ color: rgb(78, 42, 86);
/* oklch */ color: oklch(35.1% 0.086 320.1);
Tailwind
colors: {
  custom: {
    50: '#816586',
    500: '#4e2a56',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a56;
$custom-light: #816586;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a56",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 289.091,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.08564,
    "h": 320.1
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#4E2A56
secondary
#5D8853
accent
#CA5D71
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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