#4E274D#4E274D

#4E274D is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.1% C 0.081 H 328.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4E274D
RGBrgb(78, 39, 77)
HSLhsl(302, 33%, 23%)
HSVhsv(302, 50%, 31%)
CMYKcmyk(0%, 50%, 1.3%, 69.4%)
CIE-LABlab(22.33, 24.70, -15.69)
CIE-LCHlch(22.33, 29.26, 327.57°)
OKLaboklab(34.05% 0.0689 -0.0429)
OKLCHoklch(34.05% 0.081 328.1)
XYZxyz(5.2069, 3.6068, 7.4417)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E274D #274E28
analogous
#3B274E #4E274D #4E2739
triadic
#4E274D #4D4E27 #274D4E
tetradic
#4E274D #4E3B27 #274E28 #27394E
square
#4E274D #4E3B27 #274E28 #27394E
split-complementary
#4E274D #394E27 #274E3B
monochromatic
#140A14 #251325 #4E274D #773B75 #A0509E

Accessibility & contrast

On white

12.20
#4E274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E274D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E274D#FFFFFF#000000##FFFFFF
##4E274D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#502B36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e274d;
/* rgb */ color: rgb(78, 39, 77);
/* oklch */ color: oklch(34.1% 0.081 328.1);
Tailwind
colors: {
  custom: {
    50: '#81637f',
    500: '#4e274d',
    950: '#000000',
  },
}
SCSS
$custom: #4e274d;
$custom-light: #81637f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e274d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 301.538,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34051,
    "c": 0.08118,
    "h": 328.1
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#4E274D
secondary
#508151
accent
#C9615E
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E274D

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

Preview Lab → · Contrast checker → · Palette generator →

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