#4E3151#4E3151

#4E3151 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.1% C 0.065 H 323.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3151
RGBrgb(78, 49, 81)
HSLhsl(294, 25%, 25%)
HSVhsv(294, 40%, 32%)
CMYKcmyk(3.7%, 39.5%, 0%, 68.2%)
CIE-LABlab(24.98, 19.34, -14.25)
CIE-LCHlch(24.98, 24.02, 323.62°)
OKLaboklab(36.11% 0.0526 -0.0389)
OKLCHoklch(36.11% 0.065 323.5)
XYZxyz(5.7252, 4.4106, 8.3327)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3151 #345131
analogous
#3E3151 #4E3151 #513144
triadic
#4E3151 #514E31 #31514E
tetradic
#4E3151 #513E31 #345131 #314451
square
#4E3151 #513E31 #345131 #314451
split-complementary
#4E3151 #445131 #31513E
monochromatic
#120C13 #291A2B #4E3151 #734877 #975F9D

Accessibility & contrast

On white

11.16
#4E3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3151
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3151#FFFFFF#000000##FFFFFF
##4E31511.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3952
Deuteranopia (green-blind)
#353C50
Tritanopia (blue-blind)
#4F343D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e3151;
/* rgb */ color: rgb(78, 49, 81);
/* oklch */ color: oklch(36.1% 0.065 323.5);
Tailwind
colors: {
  custom: {
    50: '#806982',
    500: '#4e3151',
    950: '#000000',
  },
}
SCSS
$custom: #4e3151;
$custom-light: #806982;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3151",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 294.375,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.06538,
    "h": 323.5
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#4E3151
secondary
#5F825C
accent
#C1676F
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E3151

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

Preview Lab → · Contrast checker → · Palette generator →

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