#4E284F#4E284F

#4E284F is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.3% C 0.081 H 326.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#4E284F
RGBrgb(78, 40, 79)
HSLhsl(298, 33%, 23%)
HSVhsv(298, 49%, 31%)
CMYKcmyk(1.3%, 49.4%, 0%, 69%)
CIE-LABlab(22.66, 24.52, -16.51)
CIE-LCHlch(22.66, 29.56, 326.04°)
OKLaboklab(34.33% 0.0677 -0.0452)
OKLCHoklch(34.33% 0.081 326.2)
XYZxyz(5.3119, 3.7021, 7.8304)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E284F #294F28
analogous
#3A284F #4E284F #4F283C
triadic
#4E284F #4F4E28 #284F4E
tetradic
#4E284F #4F3A28 #294F28 #283C4F
square
#4E284F #4F3A28 #294F28 #283C4F
split-complementary
#4E284F #3C4F28 #284F3A
monochromatic
#140A14 #261326 #4E284F #763D78 #9E51A0

Accessibility & contrast

On white

12.07
#4E284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4E284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E284F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E284F#FFFFFF#000000##FFFFFF
##4E284F1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#502C37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e284f;
/* rgb */ color: rgb(78, 40, 79);
/* oklch */ color: oklch(34.3% 0.081 326.2);
Tailwind
colors: {
  custom: {
    50: '#816380',
    500: '#4e284f',
    950: '#000000',
  },
}
SCSS
$custom: #4e284f;
$custom-light: #816380;
$custom-dark: #000000;
JSON
{
  "hex": "#4e284f",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 298.462,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.08141,
    "h": 326.2
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#4E284F
secondary
#528251
accent
#C95F62
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E284F

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

Preview Lab → · Contrast checker → · Palette generator →

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