#4E2E5A#4E2E5A

#4E2E5A is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.0% C 0.083 H 316.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2E5A
RGBrgb(78, 46, 90)
HSLhsl(284, 32%, 27%)
HSVhsv(284, 49%, 35%)
CMYKcmyk(13.3%, 48.9%, 0%, 64.7%)
CIE-LABlab(24.68, 23.36, -20.67)
CIE-LCHlch(24.68, 31.19, 318.49°)
OKLaboklab(36.02% 0.0598 -0.0572)
OKLCHoklch(36.02% 0.083 316.3)
XYZxyz(5.9641, 4.3120, 10.1890)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E5A #3A5A2E
analogous
#382E5A #4E2E5A #5A2E50
triadic
#4E2E5A #5A4E2E #2E5A4E
tetradic
#4E2E5A #5A382E #3A5A2E #2E505A
square
#4E2E5A #5A382E #3A5A2E #2E505A
split-complementary
#4E2E5A #505A2E #2E5A38
monochromatic
#120A14 #2B1932 #4E2E5A #714383 #9459AA

Accessibility & contrast

On white

11.28
#4E2E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E5A
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E5A#FFFFFF#000000##FFFFFF
##4E2E5A1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395C
Deuteranopia (green-blind)
#2F3C59
Tritanopia (blue-blind)
#4E343F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2e5a;
/* rgb */ color: rgb(78, 46, 90);
/* oklch */ color: oklch(36.0% 0.083 316.3);
Tailwind
colors: {
  custom: {
    50: '#816889',
    500: '#4e2e5a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e5a;
$custom-light: #816889;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e5a",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 283.636,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36024,
    "c": 0.08279,
    "h": 316.3
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#4E2E5A
secondary
#668C58
accent
#C95F7C
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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