#4D1459#4D1459

#4D1459 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.125 H 320.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4D1459
RGBrgb(77, 20, 89)
HSLhsl(290, 63%, 21%)
HSVhsv(290, 78%, 35%)
CMYKcmyk(13.5%, 77.5%, 0%, 65.1%)
CIE-LABlab(19.22, 36.93, -28.66)
CIE-LCHlch(19.22, 46.75, 322.19°)
OKLaboklab(31.99% 0.0958 -0.0803)
OKLCHoklch(31.99% 0.125 320)
XYZxyz(5.1137, 2.7996, 9.7203)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1459 #205914
analogous
#2B1459 #4D1459 #591443
triadic
#4D1459 #594D14 #14594D
tetradic
#4D1459 #592B14 #205914 #144359
square
#4D1459 #592B14 #205914 #144359
split-complementary
#4D1459 #435914 #14592B
monochromatic
#160619 #220927 #4D1459 #781F8B #A32ABD

Accessibility & contrast

On white

13.46
#4D1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1459
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1459#FFFFFF#000000##FFFFFF
##4D14591.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1A3157
Tritanopia (blue-blind)
#4D2135
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1459;
/* rgb */ color: rgb(77, 20, 89);
/* oklch */ color: oklch(32.0% 0.125 320.0);
Tailwind
colors: {
  custom: {
    50: '#825888',
    500: '#4d1459',
    950: '#000000',
  },
}
SCSS
$custom: #4d1459;
$custom-light: #825888;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1459",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 289.565,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31986,
    "c": 0.12503,
    "h": 320
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#4D1459
secondary
#479138
accent
#E6415E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1459

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

Preview Lab → · Contrast checker → · Palette generator →

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