#4E274F#4E274F

#4E274F is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.083 H 326.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#4E274F
RGBrgb(78, 39, 79)
HSLhsl(299, 34%, 23%)
HSVhsv(299, 51%, 31%)
CMYKcmyk(1.3%, 50.6%, 0%, 69%)
CIE-LABlab(22.43, 25.13, -16.88)
CIE-LCHlch(22.43, 30.27, 326.11°)
OKLaboklab(34.16% 0.0694 -0.0463)
OKLCHoklch(34.16% 0.083 326.3)
XYZxyz(5.2786, 3.6355, 7.8193)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E274F #284F27
analogous
#3A274F #4E274F #4F273C
triadic
#4E274F #4F4E27 #274F4E
tetradic
#4E274F #4F3A27 #284F27 #273C4F
square
#4E274F #4F3A27 #284F27 #273C4F
split-complementary
#4E274F #3C4F27 #274F3A
monochromatic
#140A14 #261326 #4E274F #763B78 #9F4FA1

Accessibility & contrast

On white

12.16
#4E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E274F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E274F#FFFFFF#000000##FFFFFF
##4E274F1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#2E374E
Tritanopia (blue-blind)
#502B37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e274f;
/* rgb */ color: rgb(78, 39, 79);
/* oklch */ color: oklch(34.2% 0.083 326.3);
Tailwind
colors: {
  custom: {
    50: '#816380',
    500: '#4e274f',
    950: '#000000',
  },
}
SCSS
$custom: #4e274f;
$custom-light: #816380;
$custom-dark: #000000;
JSON
{
  "hex": "#4e274f",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 298.5,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.08339,
    "h": 326.3
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#4E274F
secondary
#518250
accent
#CA5E61
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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