#4C1051#4C1051

#4C1051 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.122 H 324.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4C1051
RGBrgb(76, 16, 81)
HSLhsl(295, 67%, 19%)
HSVhsv(295, 80%, 32%)
CMYKcmyk(6.2%, 80.2%, 0%, 68.2%)
CIE-LABlab(17.93, 36.65, -25.35)
CIE-LCHlch(17.93, 44.56, 325.33°)
OKLaboklab(30.85% 0.0994 -0.0706)
OKLCHoklch(30.85% 0.122 324.6)
XYZxyz(4.6509, 2.5015, 8.0208)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1051 #155110
analogous
#2C1051 #4C1051 #511036
triadic
#4C1051 #514C10 #10514C
tetradic
#4C1051 #512C10 #155110 #103651
square
#4C1051 #512C10 #155110 #103651
split-complementary
#4C1051 #365110 #10512C
monochromatic
#18051A #1C061E #4C1051 #7C1A84 #AC24B7

Accessibility & contrast

On white

14.00
#4C1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1051
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1051#FFFFFF#000000##FFFFFF
##4C10511.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1D2E4F
Tritanopia (blue-blind)
#4E1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1051;
/* rgb */ color: rgb(76, 16, 81);
/* oklch */ color: oklch(30.8% 0.122 324.6);
Tailwind
colors: {
  custom: {
    50: '#815682',
    500: '#4c1051',
    950: '#000000',
  },
}
SCSS
$custom: #4c1051;
$custom-light: #815682;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1051",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 295.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.12193,
    "h": 324.6
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#4C1051
secondary
#398B32
accent
#EA3E4B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C1051

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

Preview Lab → · Contrast checker → · Palette generator →

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