#4E2F4A#4E2F4A

#4E2F4A is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.4% C 0.061 H 331.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2F4A
RGBrgb(78, 47, 74)
HSLhsl(308, 25%, 25%)
HSVhsv(308, 40%, 31%)
CMYKcmyk(0%, 39.7%, 5.1%, 69.4%)
CIE-LABlab(24.15, 19.08, -10.87)
CIE-LCHlch(24.15, 21.95, 330.33°)
OKLaboklab(35.38% 0.054 -0.0293)
OKLCHoklch(35.38% 0.061 331.5)
XYZxyz(5.3944, 4.1474, 6.9936)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F4A #2F4E33
analogous
#432F4E #4E2F4A #4E2F3B
triadic
#4E2F4A #4A4E2F #2F4A4E
tetradic
#4E2F4A #4E432F #2F4E33 #2F3B4E
square
#4E2F4A #4E432F #2F4E33 #2F3B4E
split-complementary
#4E2F4A #3B4E2F #2F4E43
monochromatic
#130C12 #281826 #4E2F4A #74466E #9A5D92

Accessibility & contrast

On white

11.48
#4E2F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F4A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F4A#FFFFFF#000000##FFFFFF
##4E2F4A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#363B49
Tritanopia (blue-blind)
#503139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2f4a;
/* rgb */ color: rgb(78, 47, 74);
/* oklch */ color: oklch(35.4% 0.061 331.5);
Tailwind
colors: {
  custom: {
    50: '#80687c',
    500: '#4e2f4a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f4a;
$custom-light: #80687c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f4a",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 307.742,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35375,
    "c": 0.06146,
    "h": 331.5
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#4E2F4A
secondary
#5A7F5E
accent
#C17267
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E2F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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