#4E295A#4E295A

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

Color values

HEX#4E295A
RGBrgb(78, 41, 90)
HSLhsl(285, 37%, 26%)
HSVhsv(285, 54%, 35%)
CMYKcmyk(13.3%, 54.4%, 0%, 64.7%)
CIE-LABlab(23.49, 26.43, -22.54)
CIE-LCHlch(23.49, 34.73, 319.54°)
OKLaboklab(35.14% 0.068 -0.0626)
OKLCHoklch(35.14% 0.092 317.4)
XYZxyz(5.7800, 3.9440, 10.1277)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295A #355A29
analogous
#35295A #4E295A #5A294D
triadic
#4E295A #5A4E29 #295A4E
tetradic
#4E295A #5A3529 #355A29 #294D5A
square
#4E295A #5A3529 #355A29 #294D5A
split-complementary
#4E295A #4D5A29 #295A35
monochromatic
#120A15 #2A1630 #4E295A #723C84 #974FAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E295A#FFFFFF#000000##FFFFFF
##4E295A1.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)
#1F365C
Deuteranopia (green-blind)
#2B3959
Tritanopia (blue-blind)
#4E303D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e295a;
/* rgb */ color: rgb(78, 41, 90);
/* oklch */ color: oklch(35.1% 0.092 317.4);
Tailwind
colors: {
  custom: {
    50: '#816489',
    500: '#4e295a',
    950: '#000000',
  },
}
SCSS
$custom: #4e295a;
$custom-light: #816489;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295a",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 285.306,
    "s": 37.405,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.09242,
    "h": 317.4
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#4E295A
secondary
#618D52
accent
#CD5A77
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E295A

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

Preview Lab → · Contrast checker → · Palette generator →

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