#4E2956#4E2956

#4E2956 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.9% C 0.088 H 320.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#4E2956
RGBrgb(78, 41, 86)
HSLhsl(289, 35%, 25%)
HSVhsv(289, 52%, 34%)
CMYKcmyk(9.3%, 52.3%, 0%, 66.3%)
CIE-LABlab(23.26, 25.49, -20.24)
CIE-LCHlch(23.26, 32.55, 321.55°)
OKLaboklab(34.9% 0.0674 -0.0559)
OKLCHoklch(34.9% 0.088 320.3)
XYZxyz(5.6143, 3.8777, 9.2550)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2956 #315629
analogous
#372956 #4E2956 #562948
triadic
#4E2956 #564E29 #29564E
tetradic
#4E2956 #563729 #315629 #294856
square
#4E2956 #563729 #315629 #294856
split-complementary
#4E2956 #485629 #295637
monochromatic
#130A15 #28152D #4E2956 #743D7F #9951A9

Accessibility & contrast

On white

11.83
#4E2956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2956
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2956#FFFFFF#000000##FFFFFF
##4E29561.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223558
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#4F2F3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2956;
/* rgb */ color: rgb(78, 41, 86);
/* oklch */ color: oklch(34.9% 0.088 320.3);
Tailwind
colors: {
  custom: {
    50: '#816486',
    500: '#4e2956',
    950: '#000000',
  },
}
SCSS
$custom: #4e2956;
$custom-light: #816486;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2956",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 289.333,
    "s": 35.433,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34901,
    "c": 0.08758,
    "h": 320.3
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#4E2956
secondary
#5C8952
accent
#CB5C70
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E2956

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

Preview Lab → · Contrast checker → · Palette generator →

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