#4E0747#4E0747

#4E0747 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.124 H 332.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#4E0747
RGBrgb(78, 7, 71)
HSLhsl(306, 84%, 17%)
HSVhsv(306, 91%, 31%)
CMYKcmyk(0%, 91%, 9%, 69.4%)
CIE-LABlab(16.64, 38.25, -20.51)
CIE-LCHlch(16.64, 43.40, 331.80°)
OKLaboklab(29.79% 0.1105 -0.0564)
OKLCHoklch(29.79% 0.124 332.9)
XYZxyz(4.3552, 2.2270, 6.1605)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0747 #074E0E
analogous
#32074E #4E0747 #4E0724
triadic
#4E0747 #474E07 #07474E
tetradic
#4E0747 #4E3207 #074E0E #07244E
square
#4E0747 #4E3207 #074E0E #07244E
split-complementary
#4E0747 #244E07 #074E32
monochromatic
#1C031A #1C031A #4E0747 #860C7A #BE11AD

Accessibility & contrast

On white

14.53
#4E0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0747
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0747#FFFFFF#000000##FFFFFF
##4E07471.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032349
Deuteranopia (green-blind)
#212D45
Tritanopia (blue-blind)
#521028
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0747;
/* rgb */ color: rgb(78, 7, 71);
/* oklch */ color: oklch(29.8% 0.124 332.9);
Tailwind
colors: {
  custom: {
    50: '#83527a',
    500: '#4e0747',
    950: '#000000',
  },
}
SCSS
$custom: #4e0747;
$custom-light: #83527a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0747",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 305.915,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29793,
    "c": 0.12406,
    "h": 332.9
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#4E0747
secondary
#258C2F
accent
#FA422E
background
#F8F4F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0747

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

Preview Lab → · Contrast checker → · Palette generator →

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