#4C1056#4C1056

#4C1056 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 321.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4C1056
RGBrgb(76, 16, 86)
HSLhsl(291, 69%, 20%)
HSVhsv(291, 81%, 34%)
CMYKcmyk(11.6%, 81.4%, 0%, 66.3%)
CIE-LABlab(18.27, 37.67, -28.17)
CIE-LCHlch(18.27, 47.04, 323.20°)
OKLaboklab(31.21% 0.099 -0.0789)
OKLCHoklch(31.21% 0.127 321.5)
XYZxyz(4.8453, 2.5792, 9.0449)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1056 #1A5610
analogous
#291056 #4C1056 #56103D
triadic
#4C1056 #564C10 #10564C
tetradic
#4C1056 #562910 #1A5610 #103D56
square
#4C1056 #562910 #1A5610 #103D56
split-complementary
#4C1056 #3D5610 #105629
monochromatic
#17051A #1E0622 #4C1056 #7A1A8A #A723BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C1056#FFFFFF#000000##FFFFFF
##4C10561.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)
#002858
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#4D1E32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1056;
/* rgb */ color: rgb(76, 16, 86);
/* oklch */ color: oklch(31.2% 0.127 321.5);
Tailwind
colors: {
  custom: {
    50: '#815686',
    500: '#4c1056',
    950: '#000000',
  },
}
SCSS
$custom: #4c1056;
$custom-light: #815686;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1056",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 291.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.12661,
    "h": 321.5
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#4C1056
secondary
#408F32
accent
#EB3C55
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1056

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

Preview Lab → · Contrast checker → · Palette generator →

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