#4E0748#4E0748

#4E0748 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.9% C 0.125 H 332.2°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4E0748
RGBrgb(78, 7, 72)
HSLhsl(305, 84%, 17%)
HSVhsv(305, 91%, 31%)
CMYKcmyk(0%, 91%, 7.7%, 69.4%)
CIE-LABlab(16.70, 38.42, -21.10)
CIE-LCHlch(16.70, 43.83, 331.22°)
OKLaboklab(29.86% 0.1105 -0.0581)
OKLCHoklch(29.86% 0.125 332.2)
XYZxyz(4.3876, 2.2399, 6.3309)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0748 #074E0D
analogous
#31074E #4E0748 #4E0725
triadic
#4E0748 #484E07 #07484E
tetradic
#4E0748 #4E3107 #074E0D #07254E
square
#4E0748 #4E3107 #074E0D #07254E
split-complementary
#4E0748 #254E07 #074E31
monochromatic
#1C031A #1C031A #4E0748 #860C7C #BE11B0

Accessibility & contrast

On white

14.50
#4E0748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0748
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0748#FFFFFF#000000##FFFFFF
##4E07481.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02234A
Deuteranopia (green-blind)
#212D46
Tritanopia (blue-blind)
#521128
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0748;
/* rgb */ color: rgb(78, 7, 72);
/* oklch */ color: oklch(29.9% 0.125 332.2);
Tailwind
colors: {
  custom: {
    50: '#83527b',
    500: '#4e0748',
    950: '#000000',
  },
}
SCSS
$custom: #4e0748;
$custom-light: #83527b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0748",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 72
  },
  "hsl": {
    "h": 305.07,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29859,
    "c": 0.12485,
    "h": 332.2
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#4E0748
secondary
#258C2D
accent
#FA3F2E
background
#F8F4F7
surface
#EFE8EE
border
#CAC4C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0748

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

Preview Lab → · Contrast checker → · Palette generator →

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