#4E2B5C#4E2B5C

#4E2B5C is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.6% C 0.091 H 315.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2B5C
RGBrgb(78, 43, 92)
HSLhsl(283, 36%, 26%)
HSVhsv(283, 53%, 36%)
CMYKcmyk(15.2%, 53.3%, 0%, 63.9%)
CIE-LABlab(24.07, 25.69, -22.94)
CIE-LCHlch(24.07, 34.45, 318.24°)
OKLaboklab(35.6% 0.0651 -0.0638)
OKLCHoklch(35.6% 0.091 315.6)
XYZxyz(5.9372, 4.1203, 10.6057)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B5C #395C2B
analogous
#362B5C #4E2B5C #5C2B52
triadic
#4E2B5C #5C4E2B #2B5C4E
tetradic
#4E2B5C #5C362B #395C2B #2B525C
square
#4E2B5C #5C362B #395C2B #2B525C
split-complementary
#4E2B5C #525C2B #2B5C36
monochromatic
#120A15 #2B1832 #4E2B5C #713E86 #9453AF

Accessibility & contrast

On white

11.51
#4E2B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B5C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B5C#FFFFFF#000000##FFFFFF
##4E2B5C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21375E
Deuteranopia (green-blind)
#2B3A5B
Tritanopia (blue-blind)
#4D323F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2b5c;
/* rgb */ color: rgb(78, 43, 92);
/* oklch */ color: oklch(35.6% 0.091 315.6);
Tailwind
colors: {
  custom: {
    50: '#81668a',
    500: '#4e2b5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b5c;
$custom-light: #81668a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b5c",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 282.857,
    "s": 36.296,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.09112,
    "h": 315.6
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#4E2B5C
secondary
#658E55
accent
#CC5B7C
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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