#4E074B#4E074B

#4E074B is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.127 H 330.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4E074B
RGBrgb(78, 7, 75)
HSLhsl(303, 84%, 17%)
HSVhsv(303, 91%, 31%)
CMYKcmyk(0%, 91%, 3.8%, 69.4%)
CIE-LABlab(16.89, 38.94, -22.87)
CIE-LCHlch(16.89, 45.16, 329.58°)
OKLaboklab(30.06% 0.1104 -0.0633)
OKLCHoklch(30.06% 0.127 330.2)
XYZxyz(4.4878, 2.2800, 6.8590)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E074B #074E0A
analogous
#2E074E #4E074B #4E0728
triadic
#4E074B #4B4E07 #074B4E
tetradic
#4E074B #4E2E07 #074E0A #07284E
square
#4E074B #4E2E07 #074E0A #07284E
split-complementary
#4E074B #284E07 #074E2E
monochromatic
#1C031B #1C031B #4E074B #860C81 #BE11B7

Accessibility & contrast

On white

14.42
#4E074B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E074B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E074B#FFFFFF#000000##FFFFFF
##4E074B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#1F2D49
Tritanopia (blue-blind)
#51132A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e074b;
/* rgb */ color: rgb(78, 7, 75);
/* oklch */ color: oklch(30.1% 0.127 330.2);
Tailwind
colors: {
  custom: {
    50: '#83527d',
    500: '#4e074b',
    950: '#000000',
  },
}
SCSS
$custom: #4e074b;
$custom-light: #83527d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e074b",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 75
  },
  "hsl": {
    "h": 302.535,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30059,
    "c": 0.12725,
    "h": 330.2
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#4E074B
secondary
#258C29
accent
#FA372E
background
#F8F5F7
surface
#EFE8EE
border
#CAC4C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E074B

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

Preview Lab → · Contrast checker → · Palette generator →

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