#4D1354#4D1354

#4D1354 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.121 H 323.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4D1354
RGBrgb(77, 19, 84)
HSLhsl(294, 63%, 20%)
HSVhsv(294, 77%, 33%)
CMYKcmyk(8.3%, 77.4%, 0%, 67.1%)
CIE-LABlab(18.73, 36.31, -26.08)
CIE-LCHlch(18.73, 44.70, 324.31°)
OKLaboklab(31.52% 0.0973 -0.0728)
OKLCHoklch(31.52% 0.121 323.2)
XYZxyz(4.8935, 2.6839, 8.6461)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1354 #1A5413
analogous
#2C1354 #4D1354 #54133B
triadic
#4D1354 #544D13 #13544D
tetradic
#4D1354 #542C13 #1A5413 #133B54
square
#4D1354 #542C13 #1A5413 #133B54
split-complementary
#4D1354 #3B5413 #13542C
monochromatic
#170619 #1F0822 #4D1354 #7B1E86 #A92AB8

Accessibility & contrast

On white

13.66
#4D1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4D1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1354
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1354#FFFFFF#000000##FFFFFF
##4D13541.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#4E1E32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1354;
/* rgb */ color: rgb(77, 19, 84);
/* oklch */ color: oklch(31.5% 0.121 323.2);
Tailwind
colors: {
  custom: {
    50: '#815784',
    500: '#4d1354',
    950: '#000000',
  },
}
SCSS
$custom: #4d1354;
$custom-light: #815784;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1354",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 293.538,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.12148,
    "h": 323.2
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#4D1354
secondary
#408C36
accent
#E64253
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1354

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

Preview Lab → · Contrast checker → · Palette generator →

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