#4E2F53#4E2F53

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

Color values

HEX#4E2F53
RGBrgb(78, 47, 83)
HSLhsl(292, 28%, 25%)
HSVhsv(292, 43%, 33%)
CMYKcmyk(6%, 43.4%, 0%, 67.5%)
CIE-LABlab(24.57, 21.07, -16.22)
CIE-LCHlch(24.57, 26.59, 322.42°)
OKLaboklab(35.83% 0.0566 -0.0445)
OKLCHoklch(35.83% 0.072 321.8)
XYZxyz(5.7196, 4.2775, 8.7063)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F53 #34532F
analogous
#3C2F53 #4E2F53 #532F46
triadic
#4E2F53 #534E2F #2F534E
tetradic
#4E2F53 #533C2F #34532F #2F4653
square
#4E2F53 #533C2F #34532F #2F4653
split-complementary
#4E2F53 #46532F #2F533C
monochromatic
#120B14 #29192C #4E2F53 #73457A #975BA1

Accessibility & contrast

On white

11.32
#4E2F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F53
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F53#FFFFFF#000000##FFFFFF
##4E2F531.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3854
Deuteranopia (green-blind)
#333C52
Tritanopia (blue-blind)
#4F333D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2f53;
/* rgb */ color: rgb(78, 47, 83);
/* oklch */ color: oklch(35.8% 0.072 321.8);
Tailwind
colors: {
  custom: {
    50: '#806883',
    500: '#4e2f53',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f53;
$custom-light: #806883;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f53",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 291.667,
    "s": 27.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35825,
    "c": 0.07197,
    "h": 321.8
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#4E2F53
secondary
#5F8459
accent
#C46471
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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