#4D1350#4D1350

#4D1350 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.118 H 325.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4D1350
RGBrgb(77, 19, 80)
HSLhsl(297, 62%, 19%)
HSVhsv(297, 76%, 31%)
CMYKcmyk(3.7%, 76.3%, 0%, 68.6%)
CIE-LABlab(18.47, 35.50, -23.80)
CIE-LCHlch(18.47, 42.74, 326.16°)
OKLaboklab(31.25% 0.0974 -0.0661)
OKLCHoklch(31.25% 0.118 325.8)
XYZxyz(4.7413, 2.6230, 7.8444)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1350 #165013
analogous
#2F1350 #4D1350 #501335
triadic
#4D1350 #504D13 #13504D
tetradic
#4D1350 #502F13 #165013 #133550
square
#4D1350 #502F13 #165013 #133550
split-complementary
#4D1350 #355013 #13502F
monochromatic
#180619 #1D071F #4D1350 #7D1F81 #AC2AB3

Accessibility & contrast

On white

13.77
#4D1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D1350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1350
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1350#FFFFFF#000000##FFFFFF
##4D13501.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062852
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#4F1D30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1350;
/* rgb */ color: rgb(77, 19, 80);
/* oklch */ color: oklch(31.2% 0.118 325.8);
Tailwind
colors: {
  custom: {
    50: '#815781',
    500: '#4d1350',
    950: '#000000',
  },
}
SCSS
$custom: #4d1350;
$custom-light: #815781;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1350",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 297.049,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.11768,
    "h": 325.8
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#4D1350
secondary
#3A8936
accent
#E5434B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D1350

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

Preview Lab → · Contrast checker → · Palette generator →

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