#4D1348#4D1348

#4D1348 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.110 H 331.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4D1348
RGBrgb(77, 19, 72)
HSLhsl(305, 60%, 19%)
HSVhsv(305, 75%, 30%)
CMYKcmyk(0%, 75.3%, 6.5%, 69.8%)
CIE-LABlab(17.97, 33.96, -19.11)
CIE-LCHlch(17.97, 38.96, 330.63°)
OKLaboklab(30.73% 0.0971 -0.0525)
OKLCHoklch(30.73% 0.11 331.6)
XYZxyz(4.4631, 2.5118, 6.3794)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1348 #134D18
analogous
#35134D #4D1348 #4D132B
triadic
#4D1348 #484D13 #13484D
tetradic
#4D1348 #4D3513 #134D18 #132B4D
square
#4D1348 #4D3513 #134D18 #132B4D
split-complementary
#4D1348 #2B4D13 #134D35
monochromatic
#190617 #1C071A #4D1348 #7E1F76 #AF2BA4

Accessibility & contrast

On white

13.98
#4D1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1348
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1348#FFFFFF#000000##FFFFFF
##4D13481.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274A
Deuteranopia (green-blind)
#252F47
Tritanopia (blue-blind)
#50192B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1348;
/* rgb */ color: rgb(77, 19, 72);
/* oklch */ color: oklch(30.7% 0.110 331.6);
Tailwind
colors: {
  custom: {
    50: '#81577b',
    500: '#4d1348',
    950: '#000000',
  },
}
SCSS
$custom: #4d1348;
$custom-light: #81577b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1348",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 305.172,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.11036,
    "h": 331.6
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#4D1348
secondary
#36863D
accent
#E45244
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1348

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

Preview Lab → · Contrast checker → · Palette generator →

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