#4E295E#4E295E

#4E295E is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.4% C 0.097 H 314.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4E295E
RGBrgb(78, 41, 94)
HSLhsl(282, 39%, 26%)
HSVhsv(282, 56%, 37%)
CMYKcmyk(17%, 56.4%, 0%, 63.1%)
CIE-LABlab(23.72, 27.39, -24.81)
CIE-LCHlch(23.72, 36.95, 317.83°)
OKLaboklab(35.39% 0.0685 -0.0692)
OKLCHoklch(35.39% 0.097 314.7)
XYZxyz(5.9549, 4.0139, 11.0486)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295E #395E29
analogous
#34295E #4E295E #5E2954
triadic
#4E295E #5E4E29 #295E4E
tetradic
#4E295E #5E3429 #395E29 #29545E
square
#4E295E #5E3429 #395E29 #29545E
split-complementary
#4E295E #545E29 #295E34
monochromatic
#120915 #2B1633 #4E295E #713C89 #944FB2

Accessibility & contrast

On white

11.65
#4E295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E295E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E295E#FFFFFF#000000##FFFFFF
##4E295E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3660
Deuteranopia (green-blind)
#28395D
Tritanopia (blue-blind)
#4D313F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e295e;
/* rgb */ color: rgb(78, 41, 94);
/* oklch */ color: oklch(35.4% 0.097 314.7);
Tailwind
colors: {
  custom: {
    50: '#81648c',
    500: '#4e295e',
    950: '#000000',
  },
}
SCSS
$custom: #4e295e;
$custom-light: #81648c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295e",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 281.887,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35385,
    "c": 0.09734,
    "h": 314.7
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#4E295E
secondary
#659152
accent
#CF597C
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E295E

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

Preview Lab → · Contrast checker → · Palette generator →

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