#4C1950#4C1950

#4C1950 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.108 H 324.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#4C1950
RGBrgb(76, 25, 80)
HSLhsl(296, 52%, 21%)
HSVhsv(296, 69%, 31%)
CMYKcmyk(5%, 68.8%, 0%, 68.6%)
CIE-LABlab(19.27, 32.48, -22.53)
CIE-LCHlch(19.27, 39.52, 325.25°)
OKLaboklab(31.8% 0.0884 -0.0625)
OKLCHoklch(31.8% 0.108 324.8)
XYZxyz(4.7760, 2.8112, 7.8789)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1950 #1D5019
analogous
#301950 #4C1950 #501938
triadic
#4C1950 #504C19 #19504C
tetradic
#4C1950 #503019 #1D5019 #193850
square
#4C1950 #503019 #1D5019 #193850
split-complementary
#4C1950 #385019 #195030
monochromatic
#160717 #200A21 #4C1950 #78287F #A536AD

Accessibility & contrast

On white

13.44
#4C1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4C1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1950
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1950#FFFFFF#000000##FFFFFF
##4C19501.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2B52
Deuteranopia (green-blind)
#23314F
Tritanopia (blue-blind)
#4E2132
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1950;
/* rgb */ color: rgb(76, 25, 80);
/* oklch */ color: oklch(31.8% 0.108 324.8);
Tailwind
colors: {
  custom: {
    50: '#805a81',
    500: '#4c1950',
    950: '#000000',
  },
}
SCSS
$custom: #4c1950;
$custom-light: #805a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1950",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 295.636,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.10828,
    "h": 324.8
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#4C1950
secondary
#44863E
accent
#DC4C56
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4C1950

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

Preview Lab → · Contrast checker → · Palette generator →

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