#4E274B#4E274B

#4E274B is a dark, moderate purple. Relative luminance 0.036; OKLCH L 33.9% C 0.079 H 330.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#4E274B
RGBrgb(78, 39, 75)
HSLhsl(305, 33%, 23%)
HSVhsv(305, 50%, 31%)
CMYKcmyk(0%, 50%, 3.8%, 69.4%)
CIE-LABlab(22.23, 24.27, -14.50)
CIE-LCHlch(22.23, 28.27, 329.15°)
OKLaboklab(33.95% 0.0685 -0.0395)
OKLCHoklch(33.95% 0.079 330)
XYZxyz(5.1373, 3.5790, 7.0755)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E274B #274E2A
analogous
#3D274E #4E274B #4E2737
triadic
#4E274B #4B4E27 #274B4E
tetradic
#4E274B #4E3D27 #274E2A #27374E
square
#4E274B #4E3D27 #274E2A #27374E
split-complementary
#4E274B #374E27 #274E3D
monochromatic
#140A14 #251324 #4E274B #773B72 #A05099

Accessibility & contrast

On white

12.24
#4E274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E274B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E274B#FFFFFF#000000##FFFFFF
##4E274B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324C
Deuteranopia (green-blind)
#30374A
Tritanopia (blue-blind)
#512A35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e274b;
/* rgb */ color: rgb(78, 39, 75);
/* oklch */ color: oklch(33.9% 0.079 330.0);
Tailwind
colors: {
  custom: {
    50: '#81627d',
    500: '#4e274b',
    950: '#000000',
  },
}
SCSS
$custom: #4e274b;
$custom-light: #81627d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e274b",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 304.615,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.07902,
    "h": 330
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#4E274B
secondary
#508154
accent
#C9675E
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E274B

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

Preview Lab → · Contrast checker → · Palette generator →

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