#4E2B4F#4E2B4F

#4E2B4F is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.9% C 0.075 H 326.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4E2B4F
RGBrgb(78, 43, 79)
HSLhsl(298, 30%, 24%)
HSVhsv(298, 46%, 31%)
CMYKcmyk(1.3%, 45.6%, 0%, 69%)
CIE-LABlab(23.38, 22.68, -15.40)
CIE-LCHlch(23.38, 27.41, 325.82°)
OKLaboklab(34.87% 0.0625 -0.0421)
OKLCHoklch(34.87% 0.075 326.1)
XYZxyz(5.4169, 3.9122, 7.8654)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B4F #2C4F2B
analogous
#3C2B4F #4E2B4F #4F2B3E
triadic
#4E2B4F #4F4E2B #2B4F4E
tetradic
#4E2B4F #4F3C2B #2C4F2B #2B3E4F
square
#4E2B4F #4F3C2B #2C4F2B #2B3E4F
split-complementary
#4E2B4F #3E4F2B #2B4F3C
monochromatic
#140B14 #271527 #4E2B4F #754177 #9C569E

Accessibility & contrast

On white

11.78
#4E2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B4F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B4F#FFFFFF#000000##FFFFFF
##4E2B4F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#502F39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2b4f;
/* rgb */ color: rgb(78, 43, 79);
/* oklch */ color: oklch(34.9% 0.075 326.1);
Tailwind
colors: {
  custom: {
    50: '#806580',
    500: '#4e2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b4f;
$custom-light: #806580;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b4f",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 298.333,
    "s": 29.508,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34869,
    "c": 0.07538,
    "h": 326.1
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#4E2B4F
secondary
#568155
accent
#C66265
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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