#4D0C45#4D0C45

#4D0C45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.117 H 333.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#4D0C45
RGBrgb(77, 12, 69)
HSLhsl(307, 73%, 17%)
HSVhsv(307, 84%, 30%)
CMYKcmyk(0%, 84.4%, 10.4%, 69.8%)
CIE-LABlab(16.85, 36.11, -18.80)
CIE-LCHlch(16.85, 40.71, 332.49°)
OKLaboklab(29.87% 0.1047 -0.0516)
OKLCHoklch(29.87% 0.117 333.8)
XYZxyz(4.2663, 2.2708, 5.8427)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C45 #0C4D14
analogous
#350C4D #4D0C45 #4D0C24
triadic
#4D0C45 #454D0C #0C454D
tetradic
#4D0C45 #4D350C #0C4D14 #0C244D
square
#4D0C45 #4D350C #0C4D14 #0C244D
split-complementary
#4D0C45 #244D0C #0C4D35
monochromatic
#1A0418 #1A0418 #4D0C45 #821474 #B71DA4

Accessibility & contrast

On white

14.44
#4D0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4D0C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C45
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C45#FFFFFF#000000##FFFFFF
##4D0C451.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#232D43
Tritanopia (blue-blind)
#511328
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0c45;
/* rgb */ color: rgb(77, 12, 69);
/* oklch */ color: oklch(29.9% 0.117 333.8);
Tailwind
colors: {
  custom: {
    50: '#825479',
    500: '#4d0c45',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c45;
$custom-light: #825479;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c45",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 307.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29867,
    "c": 0.11672,
    "h": 333.8
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#4D0C45
secondary
#2C8938
accent
#F04F38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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