#4E1F47#4E1F47

#4E1F47 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.4% C 0.090 H 333.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4E1F47
RGBrgb(78, 31, 71)
HSLhsl(309, 43%, 21%)
HSVhsv(309, 60%, 31%)
CMYKcmyk(0%, 60.3%, 9%, 69.4%)
CIE-LABlab(20.26, 28.12, -14.83)
CIE-LCHlch(20.26, 31.79, 332.19°)
OKLaboklab(32.42% 0.0809 -0.0403)
OKLCHoklch(32.42% 0.09 333.5)
XYZxyz(4.7692, 3.0549, 6.2985)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F47 #1F4E26
analogous
#3E1F4E #4E1F47 #4E1F30
triadic
#4E1F47 #474E1F #1F474E
tetradic
#4E1F47 #4E3E1F #1F4E26 #1F304E
square
#4E1F47 #4E3E1F #1F4E26 #1F304E
split-complementary
#4E1F47 #304E1F #1F4E3E
monochromatic
#160914 #220E1F #4E1F47 #7A306F #A64297

Accessibility & contrast

On white

13.04
#4E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F47
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F47#FFFFFF#000000##FFFFFF
##4E1F471.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D48
Deuteranopia (green-blind)
#2C3346
Tritanopia (blue-blind)
#52222F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1f47;
/* rgb */ color: rgb(78, 31, 71);
/* oklch */ color: oklch(32.4% 0.090 333.5);
Tailwind
colors: {
  custom: {
    50: '#815d7a',
    500: '#4e1f47',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f47;
$custom-light: #815d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f47",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 308.936,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.09041,
    "h": 333.5
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#4E1F47
secondary
#46834F
accent
#D36855
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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