#4E2F4F#4E2F4F

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

Color values

HEX#4E2F4F
RGBrgb(78, 47, 79)
HSLhsl(298, 25%, 25%)
HSVhsv(298, 41%, 31%)
CMYKcmyk(1.3%, 40.5%, 0%, 69%)
CIE-LABlab(24.38, 20.16, -13.86)
CIE-LCHlch(24.38, 24.47, 325.50°)
OKLaboklab(35.62% 0.0555 -0.0377)
OKLCHoklch(35.62% 0.067 325.8)
XYZxyz(5.5696, 4.2175, 7.9163)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F4F #304F2F
analogous
#3E2F4F #4E2F4F #4F2F40
triadic
#4E2F4F #4F4E2F #2F4F4E
tetradic
#4E2F4F #4F3E2F #304F2F #2F404F
square
#4E2F4F #4F3E2F #304F2F #2F404F
split-complementary
#4E2F4F #404F2F #2F4F3E
monochromatic
#130B13 #281829 #4E2F4F #744675 #9A5D9C

Accessibility & contrast

On white

11.39
#4E2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F4F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F4F#FFFFFF#000000##FFFFFF
##4E2F4F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#343B4E
Tritanopia (blue-blind)
#50323B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2f4f;
/* rgb */ color: rgb(78, 47, 79);
/* oklch */ color: oklch(35.6% 0.067 325.8);
Tailwind
colors: {
  custom: {
    50: '#806880',
    500: '#4e2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f4f;
$custom-light: #806880;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f4f",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 298.125,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.06714,
    "h": 325.8
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#4E2F4F
secondary
#5B805A
accent
#C26669
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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