#4E2E5B#4E2E5B

#4E2E5B is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.1% C 0.084 H 315.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E2E5B
RGBrgb(78, 46, 91)
HSLhsl(283, 33%, 27%)
HSVhsv(283, 49%, 36%)
CMYKcmyk(14.3%, 49.5%, 0%, 64.3%)
CIE-LABlab(24.73, 23.60, -21.24)
CIE-LCHlch(24.73, 31.75, 318.01°)
OKLaboklab(36.08% 0.06 -0.0589)
OKLCHoklch(36.08% 0.084 315.6)
XYZxyz(6.0069, 4.3292, 10.4147)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E5B #3B5B2E
analogous
#382E5B #4E2E5B #5B2E52
triadic
#4E2E5B #5B4E2E #2E5B4E
tetradic
#4E2E5B #5B382E #3B5B2E #2E525B
square
#4E2E5B #5B382E #3B5B2E #2E525B
split-complementary
#4E2E5B #525B2E #2E5B38
monochromatic
#110A14 #2B1932 #4E2E5B #714384 #9359AB

Accessibility & contrast

On white

11.26
#4E2E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2E5B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E5B#FFFFFF#000000##FFFFFF
##4E2E5B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395D
Deuteranopia (green-blind)
#2E3C5A
Tritanopia (blue-blind)
#4D3440
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2e5b;
/* rgb */ color: rgb(78, 46, 91);
/* oklch */ color: oklch(36.1% 0.084 315.6);
Tailwind
colors: {
  custom: {
    50: '#816889',
    500: '#4e2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e5b;
$custom-light: #816889;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e5b",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 282.667,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36082,
    "c": 0.08407,
    "h": 315.6
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#4E2E5B
secondary
#678D58
accent
#C95F7D
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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