#4E2B4B#4E2B4B

#4E2B4B is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.7% C 0.071 H 330.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2B4B
RGBrgb(78, 43, 75)
HSLhsl(305, 29%, 24%)
HSVhsv(305, 45%, 31%)
CMYKcmyk(0%, 44.9%, 3.8%, 69.4%)
CIE-LABlab(23.19, 21.81, -13.02)
CIE-LCHlch(23.19, 25.40, 329.18°)
OKLaboklab(34.66% 0.0615 -0.0353)
OKLCHoklch(34.66% 0.071 330.1)
XYZxyz(5.2757, 3.8557, 7.1216)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B4B #2B4E2E
analogous
#3F2B4E #4E2B4B #4E2B39
triadic
#4E2B4B #4B4E2B #2B4B4E
tetradic
#4E2B4B #4E3F2B #2B4E2E #2B394E
square
#4E2B4B #4E3F2B #2B4E2E #2B394E
split-complementary
#4E2B4B #394E2B #2B4E3F
monochromatic
#140B13 #271525 #4E2B4B #754171 #9D5697

Accessibility & contrast

On white

11.86
#4E2B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B4B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B4B#FFFFFF#000000##FFFFFF
##4E2B4B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29344C
Deuteranopia (green-blind)
#33394A
Tritanopia (blue-blind)
#502E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2b4b;
/* rgb */ color: rgb(78, 43, 75);
/* oklch */ color: oklch(34.7% 0.071 330.1);
Tailwind
colors: {
  custom: {
    50: '#80657d',
    500: '#4e2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b4b;
$custom-light: #80657d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b4b",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 305.143,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34664,
    "c": 0.0709,
    "h": 330.1
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#4E2B4B
secondary
#558059
accent
#C56B63
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #4E2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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