#4C1565#4C1565

#4C1565 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.135 H 312.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4C1565
RGBrgb(76, 21, 101)
HSLhsl(281, 66%, 24%)
HSVhsv(281, 79%, 40%)
CMYKcmyk(24.8%, 79.2%, 0%, 60.4%)
CIE-LABlab(20.09, 38.95, -35.22)
CIE-LCHlch(20.09, 52.51, 317.88°)
OKLaboklab(32.85% 0.0918 -0.0996)
OKLCHoklch(32.85% 0.135 312.7)
XYZxyz(5.5972, 3.0126, 12.5960)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1565 #2E6515
analogous
#241565 #4C1565 #651556
triadic
#4C1565 #654C15 #15654C
tetradic
#4C1565 #652415 #2E6515 #155665
square
#4C1565 #652415 #2E6515 #155665
split-complementary
#4C1565 #566515 #156524
monochromatic
#130519 #260A32 #4C1565 #722098 #982ACA

Accessibility & contrast

On white

13.11
#4C1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1565
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1565#FFFFFF#000000##FFFFFF
##4C15651.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#0B3263
Tritanopia (blue-blind)
#49273C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1565;
/* rgb */ color: rgb(76, 21, 101);
/* oklch */ color: oklch(32.9% 0.135 312.7);
Tailwind
colors: {
  custom: {
    50: '#815991',
    500: '#4c1565',
    950: '#000000',
  },
}
SCSS
$custom: #4c1565;
$custom-light: #815991;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1565",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 281.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32854,
    "c": 0.13544,
    "h": 312.7
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#4C1565
secondary
#599C3A
accent
#E93F74
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1565

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

Preview Lab → · Contrast checker → · Palette generator →

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