#4C1567#4C1567

#4C1567 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.137 H 311.7°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4C1567
RGBrgb(76, 21, 103)
HSLhsl(280, 66%, 24%)
HSVhsv(280, 80%, 40%)
CMYKcmyk(26.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(20.25, 39.41, -36.28)
CIE-LCHlch(20.25, 53.56, 317.37°)
OKLaboklab(33.02% 0.0914 -0.1027)
OKLCHoklch(33.02% 0.137 311.7)
XYZxyz(5.6964, 3.0523, 13.1184)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1567 #306715
analogous
#231567 #4C1567 #671559
triadic
#4C1567 #674C15 #15674C
tetradic
#4C1567 #672315 #306715 #155967
square
#4C1567 #672315 #306715 #155967
split-complementary
#4C1567 #596715 #156723
monochromatic
#130519 #260B34 #4C1567 #721F9A #972ACD

Accessibility & contrast

On white

13.04
#4C1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1567
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1567#FFFFFF#000000##FFFFFF
##4C15671.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#073265
Tritanopia (blue-blind)
#49283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1567;
/* rgb */ color: rgb(76, 21, 103);
/* oklch */ color: oklch(33.0% 0.137 311.7);
Tailwind
colors: {
  custom: {
    50: '#825993',
    500: '#4c1567',
    950: '#000000',
  },
}
SCSS
$custom: #4c1567;
$custom-light: #825993;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1567",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 280.244,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33016,
    "c": 0.13749,
    "h": 311.7
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#4C1567
secondary
#5B9E3A
accent
#E93F77
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1567

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

Preview Lab → · Contrast checker → · Palette generator →

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