#4E1F53#4E1F53

#4E1F53 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.103 H 323.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4E1F53
RGBrgb(78, 31, 83)
HSLhsl(294, 46%, 22%)
HSVhsv(294, 63%, 33%)
CMYKcmyk(6%, 62.7%, 0%, 67.5%)
CIE-LABlab(20.92, 30.58, -21.92)
CIE-LCHlch(20.92, 37.63, 324.37°)
OKLaboklab(33.12% 0.0827 -0.0607)
OKLCHoklch(33.12% 0.103 323.7)
XYZxyz(5.1931, 3.2245, 8.5308)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F53 #24531F
analogous
#341F53 #4E1F53 #531F3E
triadic
#4E1F53 #534E1F #1F534E
tetradic
#4E1F53 #53341F #24531F #1F3E53
square
#4E1F53 #53341F #24531F #1F3E53
split-complementary
#4E1F53 #3E531F #1F5334
monochromatic
#150816 #240E26 #4E1F53 #783080 #A240AC

Accessibility & contrast

On white

12.77
#4E1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F53
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F53#FFFFFF#000000##FFFFFF
##4E1F531.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F55
Deuteranopia (green-blind)
#273452
Tritanopia (blue-blind)
#4F2635
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1f53;
/* rgb */ color: rgb(78, 31, 83);
/* oklch */ color: oklch(33.1% 0.103 323.7);
Tailwind
colors: {
  custom: {
    50: '#815e83',
    500: '#4e1f53',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f53;
$custom-light: #815e83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f53",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 294.231,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33121,
    "c": 0.10262,
    "h": 323.7
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#4E1F53
secondary
#4C8846
accent
#D5535F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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