#4E295C#4E295C

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

Color values

HEX#4E295C
RGBrgb(78, 41, 92)
HSLhsl(284, 38%, 26%)
HSVhsv(284, 55%, 36%)
CMYKcmyk(15.2%, 55.4%, 0%, 63.9%)
CIE-LABlab(23.60, 26.91, -23.68)
CIE-LCHlch(23.60, 35.84, 318.65°)
OKLaboklab(35.26% 0.0683 -0.0659)
OKLCHoklch(35.26% 0.095 316)
XYZxyz(5.8663, 3.9785, 10.5820)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295C #375C29
analogous
#34295C #4E295C #5C2950
triadic
#4E295C #5C4E29 #295C4E
tetradic
#4E295C #5C3429 #375C29 #29505C
square
#4E295C #5C3429 #375C29 #29505C
split-complementary
#4E295C #505C29 #295C34
monochromatic
#120915 #2A1632 #4E295C #723C86 #964FB1

Accessibility & contrast

On white

11.70
#4E295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E295C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E295C#FFFFFF#000000##FFFFFF
##4E295C1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E365E
Deuteranopia (green-blind)
#2A395B
Tritanopia (blue-blind)
#4D313E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e295c;
/* rgb */ color: rgb(78, 41, 92);
/* oklch */ color: oklch(35.3% 0.095 316.0);
Tailwind
colors: {
  custom: {
    50: '#81648a',
    500: '#4e295c',
    950: '#000000',
  },
}
SCSS
$custom: #4e295c;
$custom-light: #81648a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295c",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 283.529,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35261,
    "c": 0.09487,
    "h": 316
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#4E295C
secondary
#638F52
accent
#CE5A7A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E295C

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

Preview Lab → · Contrast checker → · Palette generator →

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