#4E2A4B#4E2A4B

#4E2A4B is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.5% C 0.073 H 330.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2A4B
RGBrgb(78, 42, 75)
HSLhsl(305, 30%, 24%)
HSVhsv(305, 46%, 31%)
CMYKcmyk(0%, 46.2%, 3.8%, 69.4%)
CIE-LABlab(22.94, 22.43, -13.39)
CIE-LCHlch(22.94, 26.13, 329.17°)
OKLaboklab(34.48% 0.0632 -0.0364)
OKLCHoklch(34.48% 0.073 330.1)
XYZxyz(5.2398, 3.7839, 7.1096)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A4B #2A4E2D
analogous
#3F2A4E #4E2A4B #4E2A39
triadic
#4E2A4B #4B4E2A #2A4B4E
tetradic
#4E2A4B #4E3F2A #2A4E2D #2A394E
square
#4E2A4B #4E3F2A #2A4E2D #2A394E
split-complementary
#4E2A4B #394E2A #2A4E3F
monochromatic
#140B13 #261525 #4E2A4B #763F71 #9E5597

Accessibility & contrast

On white

11.95
#4E2A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A4B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A4B#FFFFFF#000000##FFFFFF
##4E2A4B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344C
Deuteranopia (green-blind)
#32394A
Tritanopia (blue-blind)
#512D37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2a4b;
/* rgb */ color: rgb(78, 42, 75);
/* oklch */ color: oklch(34.5% 0.073 330.1);
Tailwind
colors: {
  custom: {
    50: '#80657d',
    500: '#4e2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a4b;
$custom-light: #80657d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a4b",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 305,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.07295,
    "h": 330.1
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#4E2A4B
secondary
#548057
accent
#C66A62
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A0509
muted
#7C7A7B

Preview Lab

Preview with #4E2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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