#4C1B60#4C1B60

#4C1B60 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.2% C 0.122 H 314.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#4C1B60
RGBrgb(76, 27, 96)
HSLhsl(283, 56%, 24%)
HSVhsv(283, 72%, 38%)
CMYKcmyk(20.8%, 71.9%, 0%, 62.4%)
CIE-LABlab(20.69, 35.04, -30.96)
CIE-LCHlch(20.69, 46.76, 318.54°)
OKLaboklab(33.16% 0.0856 -0.0871)
OKLCHoklch(33.16% 0.122 314.5)
XYZxyz(5.4834, 3.1651, 11.3861)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1B60 #2F601B
analogous
#2A1B60 #4C1B60 #601B52
triadic
#4C1B60 #604C1B #1B604C
tetradic
#4C1B60 #602A1B #2F601B #1B5260
square
#4C1B60 #602A1B #2F601B #1B5260
split-complementary
#4C1B60 #52601B #1B602A
monochromatic
#130718 #260E30 #4C1B60 #722890 #9836C0

Accessibility & contrast

On white

12.86
#4C1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4C1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1B60
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1B60#FFFFFF#000000##FFFFFF
##4C1B601.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#18335E
Tritanopia (blue-blind)
#4A293B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1b60;
/* rgb */ color: rgb(76, 27, 96);
/* oklch */ color: oklch(33.2% 0.122 314.5);
Tailwind
colors: {
  custom: {
    50: '#815c8e',
    500: '#4c1b60',
    950: '#000000',
  },
}
SCSS
$custom: #4c1b60;
$custom-light: #815c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1b60",
  "rgb": {
    "r": 76,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 282.609,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.12212,
    "h": 314.5
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#4C1B60
secondary
#5A9641
accent
#DF4874
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4C1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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