#4D0C53#4D0C53

#4D0C53 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.129 H 324.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#4D0C53
RGBrgb(77, 12, 83)
HSLhsl(295, 75%, 19%)
HSVhsv(295, 86%, 33%)
CMYKcmyk(7.2%, 85.5%, 0%, 67.5%)
CIE-LABlab(17.76, 38.69, -26.95)
CIE-LCHlch(17.76, 47.15, 325.13°)
OKLaboklab(30.81% 0.1044 -0.0752)
OKLCHoklch(30.81% 0.129 324.2)
XYZxyz(4.7532, 2.4656, 8.4075)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C53 #12530C
analogous
#290C53 #4D0C53 #530C35
triadic
#4D0C53 #534D0C #0C534D
tetradic
#4D0C53 #53290C #12530C #0C3553
square
#4D0C53 #53290C #12530C #0C3553
split-complementary
#4D0C53 #35530C #0C5329
monochromatic
#19041B #1B041E #4D0C53 #7F1488 #B01BBE

Accessibility & contrast

On white

14.07
#4D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C53
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C53#FFFFFF#000000##FFFFFF
##4D0C531.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#4F1A30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0c53;
/* rgb */ color: rgb(77, 12, 83);
/* oklch */ color: oklch(30.8% 0.129 324.2);
Tailwind
colors: {
  custom: {
    50: '#825484',
    500: '#4d0c53',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c53;
$custom-light: #825484;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c53",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 294.93,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30812,
    "c": 0.12869,
    "h": 324.2
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#4D0C53
secondary
#358E2D
accent
#F13646
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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