#4D1352#4D1352

#4D1352 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.120 H 324.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#4D1352
RGBrgb(77, 19, 82)
HSLhsl(295, 62%, 20%)
HSVhsv(295, 77%, 32%)
CMYKcmyk(6.1%, 76.8%, 0%, 67.8%)
CIE-LABlab(18.60, 35.90, -24.94)
CIE-LCHlch(18.60, 43.72, 325.21°)
OKLaboklab(31.39% 0.0974 -0.0694)
OKLCHoklch(31.39% 0.12 324.5)
XYZxyz(4.8163, 2.6530, 8.2394)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1352 #185213
analogous
#2E1352 #4D1352 #521338
triadic
#4D1352 #524D13 #13524D
tetradic
#4D1352 #522E13 #185213 #133852
square
#4D1352 #522E13 #185213 #133852
split-complementary
#4D1352 #385213 #13522E
monochromatic
#170619 #1E0720 #4D1352 #7C1F84 #AA2AB5

Accessibility & contrast

On white

13.72
#4D1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4D1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1352
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1352#FFFFFF#000000##FFFFFF
##4D13521.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032954
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#4F1E31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1352;
/* rgb */ color: rgb(77, 19, 82);
/* oklch */ color: oklch(31.4% 0.120 324.5);
Tailwind
colors: {
  custom: {
    50: '#815783',
    500: '#4d1352',
    950: '#000000',
  },
}
SCSS
$custom: #4d1352;
$custom-light: #815783;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1352",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 295.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31385,
    "c": 0.11957,
    "h": 324.5
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#4D1352
secondary
#3D8A36
accent
#E5424F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D1352

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

Preview Lab → · Contrast checker → · Palette generator →

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