#4E2F52#4E2F52

#4E2F52 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.8% C 0.071 H 322.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4E2F52
RGBrgb(78, 47, 82)
HSLhsl(293, 27%, 25%)
HSVhsv(293, 43%, 32%)
CMYKcmyk(4.9%, 42.7%, 0%, 67.8%)
CIE-LABlab(24.52, 20.84, -15.63)
CIE-LCHlch(24.52, 26.05, 323.13°)
OKLaboklab(35.77% 0.0563 -0.0428)
OKLCHoklch(35.77% 0.071 322.8)
XYZxyz(5.6812, 4.2621, 8.5044)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F52 #33522F
analogous
#3C2F52 #4E2F52 #522F44
triadic
#4E2F52 #524E2F #2F524E
tetradic
#4E2F52 #523C2F #33522F #2F4452
square
#4E2F52 #523C2F #33522F #2F4452
split-complementary
#4E2F52 #44522F #2F523C
monochromatic
#130B13 #29192B #4E2F52 #734579 #985CA0

Accessibility & contrast

On white

11.34
#4E2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F52
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F52#FFFFFF#000000##FFFFFF
##4E2F521.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#333B51
Tritanopia (blue-blind)
#4F333C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2f52;
/* rgb */ color: rgb(78, 47, 82);
/* oklch */ color: oklch(35.8% 0.071 322.8);
Tailwind
colors: {
  custom: {
    50: '#806882',
    500: '#4e2f52',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f52;
$custom-light: #806882;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f52",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 293.143,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.07075,
    "h": 322.8
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#4E2F52
secondary
#5E8359
accent
#C3646F
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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