#4E2B5A#4E2B5A

#4E2B5A is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.5% C 0.089 H 317.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4E2B5A
RGBrgb(78, 43, 90)
HSLhsl(285, 35%, 26%)
HSVhsv(285, 52%, 35%)
CMYKcmyk(13.3%, 52.2%, 0%, 64.7%)
CIE-LABlab(23.95, 25.21, -21.80)
CIE-LCHlch(23.95, 33.33, 319.15°)
OKLaboklab(35.49% 0.0648 -0.0605)
OKLCHoklch(35.49% 0.089 317)
XYZxyz(5.8510, 4.0858, 10.1513)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B5A #375A2B
analogous
#362B5A #4E2B5A #5A2B4E
triadic
#4E2B5A #5A4E2B #2B5A4E
tetradic
#4E2B5A #5A362B #375A2B #2B4E5A
square
#4E2B5A #5A362B #375A2B #2B4E5A
split-complementary
#4E2B5A #4E5A2B #2B5A36
monochromatic
#120A15 #2A1731 #4E2B5A #723F83 #9653AD

Accessibility & contrast

On white

11.56
#4E2B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B5A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B5A#FFFFFF#000000##FFFFFF
##4E2B5A1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375C
Deuteranopia (green-blind)
#2C3A59
Tritanopia (blue-blind)
#4E323E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2b5a;
/* rgb */ color: rgb(78, 43, 90);
/* oklch */ color: oklch(35.5% 0.089 317.0);
Tailwind
colors: {
  custom: {
    50: '#816589',
    500: '#4e2b5a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b5a;
$custom-light: #816589;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b5a",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 284.681,
    "s": 35.338,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35485,
    "c": 0.08862,
    "h": 317
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#4E2B5A
secondary
#638C55
accent
#CB5C79
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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