#4C0F53#4C0F53

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

Color values

HEX#4C0F53
RGBrgb(76, 15, 83)
HSLhsl(294, 69%, 19%)
HSVhsv(294, 82%, 33%)
CMYKcmyk(8.4%, 81.9%, 0%, 67.5%)
CIE-LABlab(17.93, 37.43, -26.69)
CIE-LCHlch(17.93, 45.97, 324.50°)
OKLaboklab(30.9% 0.1003 -0.0745)
OKLCHoklch(30.9% 0.125 323.4)
XYZxyz(4.7125, 2.5030, 8.4168)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F53 #16530F
analogous
#2A0F53 #4C0F53 #530F38
triadic
#4C0F53 #534C0F #0F534C
tetradic
#4C0F53 #532A0F #16530F #0F3853
square
#4C0F53 #532A0F #16530F #0F3853
split-complementary
#4C0F53 #38530F #0F532A
monochromatic
#18051A #1D061F #4C0F53 #7B1887 #AB22BB

Accessibility & contrast

On white

13.99
#4C0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F53
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F53#FFFFFF#000000##FFFFFF
##4C0F531.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0f53;
/* rgb */ color: rgb(76, 15, 83);
/* oklch */ color: oklch(30.9% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#815584',
    500: '#4c0f53',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f53;
$custom-light: #815584;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f53",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 293.824,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30897,
    "c": 0.12497,
    "h": 323.4
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#4C0F53
secondary
#3A8D31
accent
#EC3C4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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