#4E295F#4E295F

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

Color values

HEX#4E295F
RGBrgb(78, 41, 95)
HSLhsl(281, 40%, 27%)
HSVhsv(281, 57%, 37%)
CMYKcmyk(17.9%, 56.8%, 0%, 62.7%)
CIE-LABlab(23.78, 27.63, -25.37)
CIE-LCHlch(23.78, 37.51, 317.45°)
OKLaboklab(35.45% 0.0686 -0.0708)
OKLCHoklch(35.45% 0.099 314.1)
XYZxyz(6.0000, 4.0320, 11.2864)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E295F #3A5F29
analogous
#33295F #4E295F #5F2955
triadic
#4E295F #5F4E29 #295F4E
tetradic
#4E295F #5F3329 #3A5F29 #29555F
square
#4E295F #5F3329 #3A5F29 #29555F
split-complementary
#4E295F #555F29 #295F33
monochromatic
#120915 #2B1734 #4E295F #713B8A #944FB3

Accessibility & contrast

On white

11.63
#4E295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E295F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E295F#FFFFFF#000000##FFFFFF
##4E295F1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3661
Deuteranopia (green-blind)
#283A5E
Tritanopia (blue-blind)
#4D323F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e295f;
/* rgb */ color: rgb(78, 41, 95);
/* oklch */ color: oklch(35.4% 0.099 314.1);
Tailwind
colors: {
  custom: {
    50: '#81648d',
    500: '#4e295f',
    950: '#000000',
  },
}
SCSS
$custom: #4e295f;
$custom-light: #81648d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e295f",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 281.111,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.09858,
    "h": 314.1
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#4E295F
secondary
#669252
accent
#D0587E
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E295F

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

Preview Lab → · Contrast checker → · Palette generator →

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