#4D1356#4D1356

#4D1356 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.123 H 321.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4D1356
RGBrgb(77, 19, 86)
HSLhsl(292, 64%, 21%)
HSVhsv(292, 78%, 34%)
CMYKcmyk(10.5%, 77.9%, 0%, 66.3%)
CIE-LABlab(18.87, 36.72, -27.21)
CIE-LCHlch(18.87, 45.70, 323.46°)
OKLaboklab(31.67% 0.0972 -0.0761)
OKLCHoklch(31.67% 0.123 321.9)
XYZxyz(4.9730, 2.7157, 9.0645)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1356 #1C5613
analogous
#2B1356 #4D1356 #56133D
triadic
#4D1356 #564D13 #13564D
tetradic
#4D1356 #562B13 #1C5613 #133D56
square
#4D1356 #562B13 #1C5613 #133D56
split-complementary
#4D1356 #3D5613 #13562B
monochromatic
#160619 #200824 #4D1356 #7A1E88 #A729BA

Accessibility & contrast

On white

13.61
#4D1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1356
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1356#FFFFFF#000000##FFFFFF
##4D13561.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#1C3054
Tritanopia (blue-blind)
#4E1F33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1356;
/* rgb */ color: rgb(77, 19, 86);
/* oklch */ color: oklch(31.7% 0.123 321.9);
Tailwind
colors: {
  custom: {
    50: '#815786',
    500: '#4d1356',
    950: '#000000',
  },
}
SCSS
$custom: #4d1356;
$custom-light: #815786;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1356",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 291.94,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31665,
    "c": 0.1234,
    "h": 321.9
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#4D1356
secondary
#428E36
accent
#E74157
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1356

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

Preview Lab → · Contrast checker → · Palette generator →

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