#4E2E5D#4E2E5D

#4E2E5D is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.2% C 0.087 H 314.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4E2E5D
RGBrgb(78, 46, 93)
HSLhsl(281, 34%, 27%)
HSVhsv(281, 51%, 36%)
CMYKcmyk(16.1%, 50.5%, 0%, 63.5%)
CIE-LABlab(24.84, 24.09, -22.38)
CIE-LCHlch(24.84, 32.88, 317.10°)
OKLaboklab(36.2% 0.0604 -0.0622)
OKLCHoklch(36.2% 0.087 314.2)
XYZxyz(6.0943, 4.3642, 10.8751)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E5D #3D5D2E
analogous
#372E5D #4E2E5D #5D2E55
triadic
#4E2E5D #5D4E2E #2E5D4E
tetradic
#4E2E5D #5D372E #3D5D2E #2E555D
square
#4E2E5D #5D372E #3D5D2E #2E555D
split-complementary
#4E2E5D #555D2E #2E5D37
monochromatic
#110A14 #2C1A34 #4E2E5D #704286 #9259AD

Accessibility & contrast

On white

11.21
#4E2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E5D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E5D#FFFFFF#000000##FFFFFF
##4E2E5D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#2D3C5C
Tritanopia (blue-blind)
#4D3541
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2e5d;
/* rgb */ color: rgb(78, 46, 93);
/* oklch */ color: oklch(36.2% 0.087 314.2);
Tailwind
colors: {
  custom: {
    50: '#81688b',
    500: '#4e2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e5d;
$custom-light: #81688b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e5d",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 280.851,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36199,
    "c": 0.08665,
    "h": 314.2
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#4E2E5D
secondary
#6A8F58
accent
#CA5E80
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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