#4C1951#4C1951

#4C1951 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.109 H 324.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4C1951
RGBrgb(76, 25, 81)
HSLhsl(295, 53%, 21%)
HSVhsv(295, 69%, 32%)
CMYKcmyk(6.2%, 69.1%, 0%, 68.2%)
CIE-LABlab(19.33, 32.68, -23.11)
CIE-LCHlch(19.33, 40.03, 324.74°)
OKLaboklab(31.86% 0.0885 -0.0642)
OKLCHoklch(31.86% 0.109 324)
XYZxyz(4.8132, 2.8261, 8.0750)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1951 #1E5119
analogous
#301951 #4C1951 #51193A
triadic
#4C1951 #514C19 #19514C
tetradic
#4C1951 #513019 #1E5119 #193A51
square
#4C1951 #513019 #1E5119 #193A51
split-complementary
#4C1951 #3A5119 #195130
monochromatic
#160717 #200B22 #4C1951 #782780 #A436AF

Accessibility & contrast

On white

13.42
#4C1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C1951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1951
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1951#FFFFFF#000000##FFFFFF
##4C19511.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B53
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#4E2132
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1951;
/* rgb */ color: rgb(76, 25, 81);
/* oklch */ color: oklch(31.9% 0.109 324.0);
Tailwind
colors: {
  custom: {
    50: '#805a82',
    500: '#4c1951',
    950: '#000000',
  },
}
SCSS
$custom: #4c1951;
$custom-light: #805a82;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1951",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 294.643,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3186,
    "c": 0.10929,
    "h": 324
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#4C1951
secondary
#45873E
accent
#DC4C58
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C1951

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

Preview Lab → · Contrast checker → · Palette generator →

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