#4E1547#4E1547

#4E1547 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 333.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4E1547
RGBrgb(78, 21, 71)
HSLhsl(307, 58%, 19%)
HSVhsv(307, 73%, 31%)
CMYKcmyk(0%, 73.1%, 9%, 69.4%)
CIE-LABlab(18.41, 33.18, -17.71)
CIE-LCHlch(18.41, 37.61, 331.91°)
OKLaboklab(31.07% 0.0956 -0.0485)
OKLCHoklch(31.07% 0.107 333.1)
XYZxyz(4.5474, 2.6113, 6.2245)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1547 #154E1C
analogous
#39154E #4E1547 #4E152B
triadic
#4E1547 #474E15 #15474E
tetradic
#4E1547 #4E3915 #154E1C #152B4E
square
#4E1547 #4E3915 #154E1C #152B4E
split-complementary
#4E1547 #2B4E15 #154E39
monochromatic
#180616 #1E081B #4E1547 #7E2273 #AE2F9F

Accessibility & contrast

On white

13.80
#4E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1547
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1547#FFFFFF#000000##FFFFFF
##4E15471.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#521A2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1547;
/* rgb */ color: rgb(78, 21, 71);
/* oklch */ color: oklch(31.1% 0.107 333.1);
Tailwind
colors: {
  custom: {
    50: '#82587a',
    500: '#4e1547',
    950: '#000000',
  },
}
SCSS
$custom: #4e1547;
$custom-light: #82587a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1547",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 307.368,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.10723,
    "h": 333.1
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#4E1547
secondary
#398642
accent
#E15A47
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E1547

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

Preview Lab → · Contrast checker → · Palette generator →

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