#4C1356#4C1356

#4C1356 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.123 H 321.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4C1356
RGBrgb(76, 19, 86)
HSLhsl(291, 64%, 21%)
HSVhsv(291, 78%, 34%)
CMYKcmyk(11.6%, 77.9%, 0%, 66.3%)
CIE-LABlab(18.69, 36.48, -27.51)
CIE-LCHlch(18.69, 45.68, 322.98°)
OKLaboklab(31.5% 0.0958 -0.0769)
OKLCHoklch(31.5% 0.123 321.2)
XYZxyz(4.8929, 2.6744, 9.0608)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1356 #1D5613
analogous
#2A1356 #4C1356 #56133E
triadic
#4C1356 #564C13 #13564C
tetradic
#4C1356 #562A13 #1D5613 #133E56
square
#4C1356 #562A13 #1D5613 #133E56
split-complementary
#4C1356 #3E5613 #13562A
monochromatic
#160619 #200824 #4C1356 #781E88 #A529BA

Accessibility & contrast

On white

13.68
#4C1356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1356
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1356#FFFFFF#000000##FFFFFF
##4C13561.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#1B3054
Tritanopia (blue-blind)
#4D2033
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1356;
/* rgb */ color: rgb(76, 19, 86);
/* oklch */ color: oklch(31.5% 0.123 321.2);
Tailwind
colors: {
  custom: {
    50: '#815786',
    500: '#4c1356',
    950: '#000000',
  },
}
SCSS
$custom: #4c1356;
$custom-light: #815786;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1356",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 291.045,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.12291,
    "h": 321.2
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#4C1356
secondary
#448E36
accent
#E7415A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1356

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

Preview Lab → · Contrast checker → · Palette generator →

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