#4C1955#4C1955

#4C1955 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.113 H 321.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4C1955
RGBrgb(76, 25, 85)
HSLhsl(291, 55%, 22%)
HSVhsv(291, 71%, 33%)
CMYKcmyk(10.6%, 70.6%, 0%, 66.7%)
CIE-LABlab(19.59, 33.54, -25.40)
CIE-LCHlch(19.59, 42.07, 322.86°)
OKLaboklab(32.13% 0.0886 -0.0708)
OKLCHoklch(32.13% 0.113 321.3)
XYZxyz(4.9676, 2.8879, 8.8883)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1955 #225519
analogous
#2E1955 #4C1955 #551940
triadic
#4C1955 #554C19 #19554C
tetradic
#4C1955 #552E19 #225519 #194055
square
#4C1955 #552E19 #225519 #194055
split-complementary
#4C1955 #405519 #19552E
monochromatic
#150718 #220B26 #4C1955 #762784 #A135B4

Accessibility & contrast

On white

13.31
#4C1955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1955
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1955#FFFFFF#000000##FFFFFF
##4C19551.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#203154
Tritanopia (blue-blind)
#4D2334
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1955;
/* rgb */ color: rgb(76, 25, 85);
/* oklch */ color: oklch(32.1% 0.113 321.3);
Tailwind
colors: {
  custom: {
    50: '#805a85',
    500: '#4c1955',
    950: '#000000',
  },
}
SCSS
$custom: #4c1955;
$custom-light: #805a85;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1955",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 291,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.1134,
    "h": 321.3
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#4C1955
secondary
#4A8B3E
accent
#DE4A60
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4C1955

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

Preview Lab → · Contrast checker → · Palette generator →

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