#4E2E57#4E2E57

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

Color values

HEX#4E2E57
RGBrgb(78, 46, 87)
HSLhsl(287, 31%, 26%)
HSVhsv(287, 47%, 34%)
CMYKcmyk(10.3%, 47.1%, 0%, 65.9%)
CIE-LABlab(24.52, 22.64, -18.94)
CIE-LCHlch(24.52, 29.51, 320.08°)
OKLaboklab(35.85% 0.0592 -0.0522)
OKLCHoklch(35.85% 0.079 318.6)
XYZxyz(5.8389, 4.2620, 9.5300)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E57 #37572E
analogous
#392E57 #4E2E57 #572E4B
triadic
#4E2E57 #574E2E #2E574E
tetradic
#4E2E57 #57392E #37572E #2E4B57
square
#4E2E57 #57392E #37572E #2E4B57
split-complementary
#4E2E57 #4B572E #2E5739
monochromatic
#120B14 #2A192F #4E2E57 #72437F #9658A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2E57#FFFFFF#000000##FFFFFF
##4E2E571.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)
#283858
Deuteranopia (green-blind)
#303B56
Tritanopia (blue-blind)
#4E333E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2e57;
/* rgb */ color: rgb(78, 46, 87);
/* oklch */ color: oklch(35.9% 0.079 318.6);
Tailwind
colors: {
  custom: {
    50: '#806786',
    500: '#4e2e57',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e57;
$custom-light: #806786;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e57",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 286.829,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.07898,
    "h": 318.6
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#4E2E57
secondary
#638958
accent
#C76177
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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