#4D0F53#4D0F53

#4D0F53 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.125 H 324.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4D0F53
RGBrgb(77, 15, 83)
HSLhsl(295, 69%, 19%)
HSVhsv(295, 82%, 33%)
CMYKcmyk(7.2%, 81.9%, 0%, 67.5%)
CIE-LABlab(18.12, 37.66, -26.39)
CIE-LCHlch(18.12, 45.98, 324.98°)
OKLaboklab(31.07% 0.1016 -0.0736)
OKLCHoklch(31.07% 0.125 324.1)
XYZxyz(4.7926, 2.5443, 8.4206)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F53 #15530F
analogous
#2B0F53 #4D0F53 #530F37
triadic
#4D0F53 #534D0F #0F534D
tetradic
#4D0F53 #532B0F #15530F #0F3753
square
#4D0F53 #532B0F #15530F #0F3753
split-complementary
#4D0F53 #37530F #0F532B
monochromatic
#18051A #1D061F #4D0F53 #7D1887 #AD22BB

Accessibility & contrast

On white

13.92
#4D0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F53
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F53#FFFFFF#000000##FFFFFF
##4D0F531.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#1C2F51
Tritanopia (blue-blind)
#4F1C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0f53;
/* rgb */ color: rgb(77, 15, 83);
/* oklch */ color: oklch(31.1% 0.125 324.1);
Tailwind
colors: {
  custom: {
    50: '#825684',
    500: '#4d0f53',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f53;
$custom-light: #825684;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f53",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 294.706,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31065,
    "c": 0.12546,
    "h": 324.1
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#4D0F53
secondary
#398D31
accent
#EC3C4B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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