#4E074D#4E074D

#4E074D is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.129 H 328.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4E074D
RGBrgb(78, 7, 77)
HSLhsl(301, 84%, 17%)
HSVhsv(301, 91%, 31%)
CMYKcmyk(0%, 91%, 1.3%, 69.4%)
CIE-LABlab(17.03, 39.29, -24.03)
CIE-LCHlch(17.03, 46.06, 328.55°)
OKLaboklab(30.2% 0.1103 -0.0666)
OKLCHoklch(30.2% 0.129 328.9)
XYZxyz(4.5574, 2.3078, 7.2252)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E074D #074E08
analogous
#2C074E #4E074D #4E072A
triadic
#4E074D #4D4E07 #074D4E
tetradic
#4E074D #4E2C07 #074E08 #072A4E
square
#4E074D #4E2C07 #074E08 #072A4E
split-complementary
#4E074D #2A4E07 #074E2C
monochromatic
#1C031C #1C031C #4E074D #860C84 #BE11BC

Accessibility & contrast

On white

14.37
#4E074D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E074D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E074D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E074D#FFFFFF#000000##FFFFFF
##4E074D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#51142B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e074d;
/* rgb */ color: rgb(78, 7, 77);
/* oklch */ color: oklch(30.2% 0.129 328.9);
Tailwind
colors: {
  custom: {
    50: '#83537f',
    500: '#4e074d',
    950: '#000000',
  },
}
SCSS
$custom: #4e074d;
$custom-light: #83537f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e074d",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 77
  },
  "hsl": {
    "h": 300.845,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30196,
    "c": 0.12888,
    "h": 328.9
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#4E074D
secondary
#258C26
accent
#FA312E
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E074D

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

Preview Lab → · Contrast checker → · Palette generator →

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