#4E2F4E#4E2F4E

#4E2F4E is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.6% C 0.066 H 326.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2F4E
RGBrgb(78, 47, 78)
HSLhsl(300, 25%, 25%)
HSVhsv(300, 40%, 31%)
CMYKcmyk(0%, 39.7%, 0%, 69.4%)
CIE-LABlab(24.33, 19.94, -13.26)
CIE-LCHlch(24.33, 23.95, 326.38°)
OKLaboklab(35.57% 0.0552 -0.0361)
OKLCHoklch(35.57% 0.066 326.9)
XYZxyz(5.5334, 4.2030, 7.7260)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F4E #2F4E2F
analogous
#3F2F4E #4E2F4E #4E2F3F
triadic
#4E2F4E #4E4E2F #2F4E4E
tetradic
#4E2F4E #4E3F2F #2F4E2F #2F3F4E
square
#4E2F4E #4E3F2F #2F4E2F #2F3F4E
split-complementary
#4E2F4E #3F4E2F #2F4E3F
monochromatic
#130C13 #281828 #4E2F4E #744674 #9A5D9A

Accessibility & contrast

On white

11.41
#4E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F4E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F4E#FFFFFF#000000##FFFFFF
##4E2F4E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#353B4D
Tritanopia (blue-blind)
#50323B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2f4e;
/* rgb */ color: rgb(78, 47, 78);
/* oklch */ color: oklch(35.6% 0.066 326.9);
Tailwind
colors: {
  custom: {
    50: '#80687f',
    500: '#4e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f4e;
$custom-light: #80687f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f4e",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35569,
    "c": 0.06597,
    "h": 326.9
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#4E2F4E
secondary
#5A7F5A
accent
#C16767
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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