#4C0F60#4C0F60

#4C0F60 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.137 H 315.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4C0F60
RGBrgb(76, 15, 96)
HSLhsl(285, 73%, 22%)
HSVhsv(285, 84%, 38%)
CMYKcmyk(20.8%, 84.4%, 0%, 62.4%)
CIE-LABlab(18.90, 40.14, -33.85)
CIE-LCHlch(18.90, 52.51, 319.86°)
OKLaboklab(31.89% 0.0985 -0.0955)
OKLCHoklch(31.89% 0.137 315.9)
XYZxyz(5.2623, 2.7229, 11.3124)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F60 #23600F
analogous
#240F60 #4C0F60 #600F4C
triadic
#4C0F60 #604C0F #0F604C
tetradic
#4C0F60 #60240F #23600F #0F4C60
square
#4C0F60 #60240F #23600F #0F4C60
split-complementary
#4C0F60 #4C600F #0F6024
monochromatic
#15041A #22072B #4C0F60 #761795 #A020CA

Accessibility & contrast

On white

13.60
#4C0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F60
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F60#FFFFFF#000000##FFFFFF
##4C0F601.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#0D305E
Tritanopia (blue-blind)
#4B2238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c0f60;
/* rgb */ color: rgb(76, 15, 96);
/* oklch */ color: oklch(31.9% 0.137 315.9);
Tailwind
colors: {
  custom: {
    50: '#81568e',
    500: '#4c0f60',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f60;
$custom-light: #81568e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f60",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 285.185,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31887,
    "c": 0.1372,
    "h": 315.9
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#4C0F60
secondary
#4B9932
accent
#F03865
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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