#4E285B#4E285B

#4E285B is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.096 H 316.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#4E285B
RGBrgb(78, 40, 91)
HSLhsl(285, 39%, 26%)
HSVhsv(285, 56%, 36%)
CMYKcmyk(14.3%, 56%, 0%, 64.3%)
CIE-LABlab(23.31, 27.26, -23.47)
CIE-LCHlch(23.31, 35.98, 319.28°)
OKLaboklab(35.03% 0.0697 -0.0653)
OKLCHoklch(35.03% 0.096 316.9)
XYZxyz(5.7887, 3.8928, 10.3420)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E285B #355B28
analogous
#34285B #4E285B #5B284E
triadic
#4E285B #5B4E28 #285B4E
tetradic
#4E285B #5B3428 #355B28 #284E5B
square
#4E285B #5B3428 #355B28 #284E5B
split-complementary
#4E285B #4E5B28 #285B34
monochromatic
#120915 #2A1530 #4E285B #723B86 #974DB0

Accessibility & contrast

On white

11.81
#4E285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E285B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E285B#FFFFFF#000000##FFFFFF
##4E285B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355D
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#4E303D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e285b;
/* rgb */ color: rgb(78, 40, 91);
/* oklch */ color: oklch(35.0% 0.096 316.9);
Tailwind
colors: {
  custom: {
    50: '#816489',
    500: '#4e285b',
    950: '#000000',
  },
}
SCSS
$custom: #4e285b;
$custom-light: #816489;
$custom-dark: #000000;
JSON
{
  "hex": "#4e285b",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 284.706,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3503,
    "c": 0.0955,
    "h": 316.9
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#4E285B
secondary
#618E51
accent
#CF5977
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E285B

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

Preview Lab → · Contrast checker → · Palette generator →

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