#4C0F55#4C0F55

#4C0F55 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.127 H 322.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4C0F55
RGBrgb(76, 15, 85)
HSLhsl(292, 70%, 20%)
HSVhsv(292, 82%, 33%)
CMYKcmyk(10.6%, 82.4%, 0%, 66.7%)
CIE-LABlab(18.07, 37.83, -27.82)
CIE-LCHlch(18.07, 46.96, 323.67°)
OKLaboklab(31.04% 0.1001 -0.0778)
OKLCHoklch(31.04% 0.127 322.1)
XYZxyz(4.7908, 2.5343, 8.8294)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F55 #18550F
analogous
#290F55 #4C0F55 #550F3B
triadic
#4C0F55 #554C0F #0F554C
tetradic
#4C0F55 #55290F #18550F #0F3B55
square
#4C0F55 #55290F #18550F #0F3B55
split-complementary
#4C0F55 #3B550F #0F5529
monochromatic
#17051A #1D0621 #4C0F55 #7B1889 #A921BD

Accessibility & contrast

On white

13.94
#4C0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F55
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F55#FFFFFF#000000##FFFFFF
##4C0F551.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#4D1D31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c0f55;
/* rgb */ color: rgb(76, 15, 85);
/* oklch */ color: oklch(31.0% 0.127 322.1);
Tailwind
colors: {
  custom: {
    50: '#815585',
    500: '#4c0f55',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f55;
$custom-light: #815585;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f55",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 292.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.12681,
    "h": 322.1
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#4C0F55
secondary
#3D8F31
accent
#ED3B52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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