#4C1050#4C1050

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

Color values

HEX#4C1050
RGBrgb(76, 16, 80)
HSLhsl(296, 67%, 19%)
HSVhsv(296, 80%, 31%)
CMYKcmyk(5%, 80%, 0%, 68.6%)
CIE-LABlab(17.86, 36.45, -24.78)
CIE-LCHlch(17.86, 44.07, 325.80°)
OKLaboklab(30.78% 0.0995 -0.0689)
OKLCHoklch(30.78% 0.121 325.3)
XYZxyz(4.6136, 2.4866, 7.8248)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1050 #145010
analogous
#2C1050 #4C1050 #501034
triadic
#4C1050 #504C10 #10504C
tetradic
#4C1050 #502C10 #145010 #103450
square
#4C1050 #502C10 #145010 #103450
split-complementary
#4C1050 #345010 #10502C
monochromatic
#18051A #1C061D #4C1050 #7C1A83 #AD24B6

Accessibility & contrast

On white

14.03
#4C1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1050
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1050#FFFFFF#000000##FFFFFF
##4C10501.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002752
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#4E1B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1050;
/* rgb */ color: rgb(76, 16, 80);
/* oklch */ color: oklch(30.8% 0.121 325.3);
Tailwind
colors: {
  custom: {
    50: '#815681',
    500: '#4c1050',
    950: '#000000',
  },
}
SCSS
$custom: #4c1050;
$custom-light: #815681;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1050",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 296.25,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.12101,
    "h": 325.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#4C1050
secondary
#388A32
accent
#EA3E49
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C1050

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

Preview Lab → · Contrast checker → · Palette generator →

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