#4E2A4F#4E2A4F

#4E2A4F is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.077 H 326.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#4E2A4F
RGBrgb(78, 42, 79)
HSLhsl(298, 31%, 24%)
HSVhsv(298, 47%, 31%)
CMYKcmyk(1.3%, 46.8%, 0%, 69%)
CIE-LABlab(23.14, 23.30, -15.78)
CIE-LCHlch(23.14, 28.14, 325.90°)
OKLaboklab(34.69% 0.0643 -0.0432)
OKLCHoklch(34.69% 0.077 326.1)
XYZxyz(5.3810, 3.8404, 7.8534)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A4F #2B4F2A
analogous
#3B2A4F #4E2A4F #4F2A3D
triadic
#4E2A4F #4F4E2A #2A4F4E
tetradic
#4E2A4F #4F3B2A #2B4F2A #2A3D4F
square
#4E2A4F #4F3B2A #2B4F2A #2A3D4F
split-complementary
#4E2A4F #3D4F2A #2A4F3B
monochromatic
#140B14 #271527 #4E2A4F #753F77 #9D549F

Accessibility & contrast

On white

11.88
#4E2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2A4F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A4F#FFFFFF#000000##FFFFFF
##4E2A4F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273450
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#502E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2a4f;
/* rgb */ color: rgb(78, 42, 79);
/* oklch */ color: oklch(34.7% 0.077 326.1);
Tailwind
colors: {
  custom: {
    50: '#806580',
    500: '#4e2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a4f;
$custom-light: #806580;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a4f",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 298.378,
    "s": 30.579,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.07741,
    "h": 326.1
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#4E2A4F
secondary
#558154
accent
#C76164
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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