#4E285E#4E285E

#4E285E is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.099 H 314.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4E285E
RGBrgb(78, 40, 94)
HSLhsl(282, 40%, 26%)
HSVhsv(282, 57%, 37%)
CMYKcmyk(17%, 57.4%, 0%, 63.1%)
CIE-LABlab(23.49, 27.99, -25.17)
CIE-LCHlch(23.49, 37.64, 318.04°)
OKLaboklab(35.22% 0.07 -0.0702)
OKLCHoklch(35.22% 0.099 314.9)
XYZxyz(5.9207, 3.9456, 11.0372)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E285E #385E28
analogous
#33285E #4E285E #5E2853
triadic
#4E285E #5E4E28 #285E4E
tetradic
#4E285E #5E3328 #385E28 #28535E
square
#4E285E #5E3328 #385E28 #28535E
split-complementary
#4E285E #535E28 #285E33
monochromatic
#120915 #2A1633 #4E285E #723A89 #954DB3

Accessibility & contrast

On white

11.74
#4E285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E285E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E285E#FFFFFF#000000##FFFFFF
##4E285E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#4D313F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e285e;
/* rgb */ color: rgb(78, 40, 94);
/* oklch */ color: oklch(35.2% 0.099 314.9);
Tailwind
colors: {
  custom: {
    50: '#81648c',
    500: '#4e285e',
    950: '#000000',
  },
}
SCSS
$custom: #4e285e;
$custom-light: #81648c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e285e",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 282.222,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35218,
    "c": 0.09917,
    "h": 314.9
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#4E285E
secondary
#649151
accent
#D0587B
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E285E

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

Preview Lab → · Contrast checker → · Palette generator →

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