#4E2C55#4E2C55

#4E2C55 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.4% C 0.080 H 320.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#4E2C55
RGBrgb(78, 44, 85)
HSLhsl(290, 32%, 25%)
HSVhsv(290, 48%, 33%)
CMYKcmyk(8.2%, 48.2%, 0%, 66.7%)
CIE-LABlab(23.93, 23.42, -18.54)
CIE-LCHlch(23.93, 29.87, 321.62°)
OKLaboklab(35.38% 0.0622 -0.0511)
OKLCHoklch(35.38% 0.08 320.6)
XYZxyz(5.6821, 4.0772, 9.0802)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C55 #33552C
analogous
#392C55 #4E2C55 #552C47
triadic
#4E2C55 #554E2C #2C554E
tetradic
#4E2C55 #55392C #33552C #2C4755
square
#4E2C55 #55392C #33552C #2C4755
split-complementary
#4E2C55 #47552C #2C5539
monochromatic
#130A14 #29172D #4E2C55 #73417D #9856A6

Accessibility & contrast

On white

11.57
#4E2C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2C55
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C55#FFFFFF#000000##FFFFFF
##4E2C551.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#2F3A54
Tritanopia (blue-blind)
#4F313C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2c55;
/* rgb */ color: rgb(78, 44, 85);
/* oklch */ color: oklch(35.4% 0.080 320.6);
Tailwind
colors: {
  custom: {
    50: '#806685',
    500: '#4e2c55',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c55;
$custom-light: #806685;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c55",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 289.756,
    "s": 31.783,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.08048,
    "h": 320.6
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#4E2C55
secondary
#5E8756
accent
#C86072
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2C55

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

Preview Lab → · Contrast checker → · Palette generator →

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