#4E295D#4E295D

#4E295D is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.3% C 0.096 H 315.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4E295D
RGBrgb(78, 41, 93)
HSLhsl(283, 39%, 26%)
HSVhsv(283, 56%, 36%)
CMYKcmyk(16.1%, 55.9%, 0%, 63.5%)
CIE-LABlab(23.66, 27.15, -24.24)
CIE-LCHlch(23.66, 36.40, 318.23°)
OKLaboklab(35.32% 0.0684 -0.0675)
OKLCHoklch(35.32% 0.096 315.4)
XYZxyz(5.9103, 3.9961, 10.8138)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295D #385D29
analogous
#34295D #4E295D #5D2952
triadic
#4E295D #5D4E29 #295D4E
tetradic
#4E295D #5D3429 #385D29 #29525D
square
#4E295D #5D3429 #385D29 #29525D
split-complementary
#4E295D #525D29 #295D34
monochromatic
#120915 #2A1633 #4E295D #723C87 #954FB1

Accessibility & contrast

On white

11.67
#4E295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E295D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E295D#FFFFFF#000000##FFFFFF
##4E295D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365F
Deuteranopia (green-blind)
#29395C
Tritanopia (blue-blind)
#4D313F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e295d;
/* rgb */ color: rgb(78, 41, 93);
/* oklch */ color: oklch(35.3% 0.096 315.4);
Tailwind
colors: {
  custom: {
    50: '#81648b',
    500: '#4e295d',
    950: '#000000',
  },
}
SCSS
$custom: #4e295d;
$custom-light: #81648b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295d",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 282.692,
    "s": 38.806,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.0961,
    "h": 315.4
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#4E295D
secondary
#649052
accent
#CF597B
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E295D

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

Preview Lab → · Contrast checker → · Palette generator →

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