#4D1357#4D1357

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

Color values

HEX#4D1357
RGBrgb(77, 19, 87)
HSLhsl(291, 64%, 21%)
HSVhsv(291, 78%, 34%)
CMYKcmyk(11.5%, 78.2%, 0%, 65.9%)
CIE-LABlab(18.94, 36.93, -27.77)
CIE-LCHlch(18.94, 46.21, 323.05°)
OKLaboklab(31.74% 0.0971 -0.0777)
OKLCHoklch(31.74% 0.124 321.3)
XYZxyz(5.0135, 2.7319, 9.2782)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1357 #1D5713
analogous
#2B1357 #4D1357 #57133F
triadic
#4D1357 #574D13 #13574D
tetradic
#4D1357 #572B13 #1D5713 #133F57
square
#4D1357 #572B13 #1D5713 #133F57
split-complementary
#4D1357 #3F5713 #13572B
monochromatic
#160519 #210825 #4D1357 #791E89 #A629BB

Accessibility & contrast

On white

13.58
#4D1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1357
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1357#FFFFFF#000000##FFFFFF
##4D13571.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1357;
/* rgb */ color: rgb(77, 19, 87);
/* oklch */ color: oklch(31.7% 0.124 321.3);
Tailwind
colors: {
  custom: {
    50: '#815787',
    500: '#4d1357',
    950: '#000000',
  },
}
SCSS
$custom: #4d1357;
$custom-light: #815787;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1357",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 291.176,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.12436,
    "h": 321.3
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#4D1357
secondary
#448F36
accent
#E74159
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1357

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

Preview Lab → · Contrast checker → · Palette generator →

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