#4C1350#4C1350

#4C1350 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.117 H 325.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4C1350
RGBrgb(76, 19, 80)
HSLhsl(296, 62%, 19%)
HSVhsv(296, 76%, 31%)
CMYKcmyk(5%, 76.3%, 0%, 68.6%)
CIE-LABlab(18.28, 35.24, -24.10)
CIE-LCHlch(18.28, 42.69, 325.64°)
OKLaboklab(31.08% 0.0961 -0.067)
OKLCHoklch(31.08% 0.117 325.1)
XYZxyz(4.6612, 2.5817, 7.8407)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1350 #175013
analogous
#2E1350 #4C1350 #501336
triadic
#4C1350 #504C13 #13504C
tetradic
#4C1350 #502E13 #175013 #133650
square
#4C1350 #502E13 #175013 #133650
split-complementary
#4C1350 #365013 #13502E
monochromatic
#170619 #1D071F #4C1350 #7B1F81 #AA2AB3

Accessibility & contrast

On white

13.85
#4C1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1350
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1350#FFFFFF#000000##FFFFFF
##4C13501.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#4E1D30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1350;
/* rgb */ color: rgb(76, 19, 80);
/* oklch */ color: oklch(31.1% 0.117 325.1);
Tailwind
colors: {
  custom: {
    50: '#805781',
    500: '#4c1350',
    950: '#000000',
  },
}
SCSS
$custom: #4c1350;
$custom-light: #805781;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1350",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 296.066,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31083,
    "c": 0.11713,
    "h": 325.1
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#4C1350
secondary
#3C8936
accent
#E5434E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C1350

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

Preview Lab → · Contrast checker → · Palette generator →

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