#4D1457#4D1457

#4D1457 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.123 H 321.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4D1457
RGBrgb(77, 20, 87)
HSLhsl(291, 63%, 21%)
HSVhsv(291, 77%, 34%)
CMYKcmyk(11.5%, 77%, 0%, 65.9%)
CIE-LABlab(19.08, 36.51, -27.54)
CIE-LCHlch(19.08, 45.73, 322.97°)
OKLaboklab(31.84% 0.096 -0.077)
OKLCHoklch(31.84% 0.123 321.3)
XYZxyz(5.0308, 2.7665, 9.2840)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1457 #1E5714
analogous
#2B1457 #4D1457 #57143F
triadic
#4D1457 #574D14 #14574D
tetradic
#4D1457 #572B14 #1E5714 #143F57
square
#4D1457 #572B14 #1E5714 #143F57
split-complementary
#4D1457 #3F5714 #14572B
monochromatic
#160619 #210925 #4D1457 #791F89 #A52BBB

Accessibility & contrast

On white

13.52
#4D1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1457
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1457#FFFFFF#000000##FFFFFF
##4D14571.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#1C3055
Tritanopia (blue-blind)
#4E2034
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1457;
/* rgb */ color: rgb(77, 20, 87);
/* oklch */ color: oklch(31.8% 0.123 321.3);
Tailwind
colors: {
  custom: {
    50: '#815887',
    500: '#4d1457',
    950: '#000000',
  },
}
SCSS
$custom: #4d1457;
$custom-light: #815887;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1457",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 291.045,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31842,
    "c": 0.12306,
    "h": 321.3
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#4D1457
secondary
#458F38
accent
#E6425B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1457

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

Preview Lab → · Contrast checker → · Palette generator →

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