#4E2F57#4E2F57

#4E2F57 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.0% C 0.077 H 318.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#4E2F57
RGBrgb(78, 47, 87)
HSLhsl(287, 30%, 26%)
HSVhsv(287, 46%, 34%)
CMYKcmyk(10.3%, 46%, 0%, 65.9%)
CIE-LABlab(24.77, 22.01, -18.55)
CIE-LCHlch(24.77, 28.78, 319.87°)
OKLaboklab(36.04% 0.0575 -0.0511)
OKLCHoklch(36.04% 0.077 318.4)
XYZxyz(5.8785, 4.3410, 9.5432)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F57 #38572F
analogous
#3A2F57 #4E2F57 #572F4C
triadic
#4E2F57 #574E2F #2F574E
tetradic
#4E2F57 #573A2F #38572F #2F4C57
square
#4E2F57 #573A2F #38572F #2F4C57
split-complementary
#4E2F57 #4C572F #2F573A
monochromatic
#120B14 #2A1A2F #4E2F57 #72447F #955AA6

Accessibility & contrast

On white

11.24
#4E2F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F57
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F57#FFFFFF#000000##FFFFFF
##4E2F571.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#313C56
Tritanopia (blue-blind)
#4E343F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f57;
/* rgb */ color: rgb(78, 47, 87);
/* oklch */ color: oklch(36.0% 0.077 318.4);
Tailwind
colors: {
  custom: {
    50: '#806886',
    500: '#4e2f57',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f57;
$custom-light: #806886;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f57",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 286.5,
    "s": 29.851,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36041,
    "c": 0.07697,
    "h": 318.4
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#4E2F57
secondary
#648859
accent
#C66278
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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