#4E284C#4E284C

#4E284C is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.2% C 0.078 H 329.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#4E284C
RGBrgb(78, 40, 76)
HSLhsl(303, 32%, 23%)
HSVhsv(303, 49%, 31%)
CMYKcmyk(0%, 48.7%, 2.6%, 69.4%)
CIE-LABlab(22.51, 23.88, -14.73)
CIE-LCHlch(22.51, 28.05, 328.33°)
OKLaboklab(34.17% 0.067 -0.0402)
OKLCHoklch(34.17% 0.078 329.1)
XYZxyz(5.2051, 3.6594, 7.2682)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E284C #284E2A
analogous
#3D284E #4E284C #4E2839
triadic
#4E284C #4C4E28 #284C4E
tetradic
#4E284C #4E3D28 #284E2A #28394E
square
#4E284C #4E3D28 #284E2A #28394E
split-complementary
#4E284C #394E28 #284E3D
monochromatic
#140A14 #261325 #4E284C #763D73 #9F519B

Accessibility & contrast

On white

12.13
#4E284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E284C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E284C#FFFFFF#000000##FFFFFF
##4E284C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#502B36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e284c;
/* rgb */ color: rgb(78, 40, 76);
/* oklch */ color: oklch(34.2% 0.078 329.1);
Tailwind
colors: {
  custom: {
    50: '#81637e',
    500: '#4e284c',
    950: '#000000',
  },
}
SCSS
$custom: #4e284c;
$custom-light: #81637e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e284c",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 303.158,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.0781,
    "h": 329.1
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#4E284C
secondary
#518154
accent
#C8655F
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E284C

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

Preview Lab → · Contrast checker → · Palette generator →

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