#4E074A#4E074A

#4E074A is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.126 H 330.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4E074A
RGBrgb(78, 7, 74)
HSLhsl(303, 84%, 17%)
HSVhsv(303, 91%, 31%)
CMYKcmyk(0%, 91%, 5.1%, 69.4%)
CIE-LABlab(16.83, 38.76, -22.28)
CIE-LCHlch(16.83, 44.71, 330.11°)
OKLaboklab(29.99% 0.1104 -0.0616)
OKLCHoklch(29.99% 0.126 330.9)
XYZxyz(4.4539, 2.2664, 6.6801)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E074A #074E0B
analogous
#2F074E #4E074A #4E0727
triadic
#4E074A #4A4E07 #074A4E
tetradic
#4E074A #4E2F07 #074E0B #07274E
square
#4E074A #4E2F07 #074E0B #07274E
split-complementary
#4E074A #274E07 #074E2F
monochromatic
#1C031B #1C031B #4E074A #860C7F #BE11B5

Accessibility & contrast

On white

14.45
#4E074A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E074A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E074A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E074A#FFFFFF#000000##FFFFFF
##4E074A1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#202D48
Tritanopia (blue-blind)
#511229
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e074a;
/* rgb */ color: rgb(78, 7, 74);
/* oklch */ color: oklch(30.0% 0.126 330.9);
Tailwind
colors: {
  custom: {
    50: '#83527d',
    500: '#4e074a',
    950: '#000000',
  },
}
SCSS
$custom: #4e074a;
$custom-light: #83527d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e074a",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 74
  },
  "hsl": {
    "h": 303.38,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29991,
    "c": 0.12644,
    "h": 330.9
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#4E074A
secondary
#258C2B
accent
#FA392E
background
#F8F4F7
surface
#EFE8EE
border
#CAC4C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E074A

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

Preview Lab → · Contrast checker → · Palette generator →

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