#4E285D#4E285D

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

Color values

HEX#4E285D
RGBrgb(78, 40, 93)
HSLhsl(283, 40%, 26%)
HSVhsv(283, 57%, 36%)
CMYKcmyk(16.1%, 57%, 0%, 63.5%)
CIE-LABlab(23.43, 27.74, -24.60)
CIE-LCHlch(23.43, 37.08, 318.44°)
OKLaboklab(35.15% 0.0699 -0.0686)
OKLCHoklch(35.15% 0.098 315.6)
XYZxyz(5.8762, 3.9278, 10.8024)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E285D #375D28
analogous
#33285D #4E285D #5D2851
triadic
#4E285D #5D4E28 #285D4E
tetradic
#4E285D #5D3328 #375D28 #28515D
square
#4E285D #5D3328 #375D28 #28515D
split-complementary
#4E285D #515D28 #285D33
monochromatic
#120915 #2A1632 #4E285D #723A88 #964DB2

Accessibility & contrast

On white

11.76
#4E285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E285D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E285D#FFFFFF#000000##FFFFFF
##4E285D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C365F
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#4D303E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e285d;
/* rgb */ color: rgb(78, 40, 93);
/* oklch */ color: oklch(35.2% 0.098 315.6);
Tailwind
colors: {
  custom: {
    50: '#81648b',
    500: '#4e285d',
    950: '#000000',
  },
}
SCSS
$custom: #4e285d;
$custom-light: #81648b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e285d",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 283.019,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.09795,
    "h": 315.6
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#4E285D
secondary
#639051
accent
#D0587A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E285D

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

Preview Lab → · Contrast checker → · Palette generator →

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