#4C1054#4C1054

#4C1054 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.125 H 322.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4C1054
RGBrgb(76, 16, 84)
HSLhsl(293, 68%, 20%)
HSVhsv(293, 81%, 33%)
CMYKcmyk(9.5%, 81%, 0%, 67.1%)
CIE-LABlab(18.13, 37.26, -27.05)
CIE-LCHlch(18.13, 46.04, 324.02°)
OKLaboklab(31.06% 0.0992 -0.0756)
OKLCHoklch(31.06% 0.125 322.7)
XYZxyz(4.7659, 2.5475, 8.6265)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1054 #185410
analogous
#2A1054 #4C1054 #54103A
triadic
#4C1054 #544C10 #10544C
tetradic
#4C1054 #542A10 #185410 #103A54
square
#4C1054 #542A10 #185410 #103A54
split-complementary
#4C1054 #3A5410 #10542A
monochromatic
#17051A #1D0621 #4C1054 #7B1A87 #A924BB

Accessibility & contrast

On white

13.91
#4C1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1054
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1054#FFFFFF#000000##FFFFFF
##4C10541.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1B2F52
Tritanopia (blue-blind)
#4D1D31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1054;
/* rgb */ color: rgb(76, 16, 84);
/* oklch */ color: oklch(31.1% 0.125 322.7);
Tailwind
colors: {
  custom: {
    50: '#815684',
    500: '#4c1054',
    950: '#000000',
  },
}
SCSS
$custom: #4c1054;
$custom-light: #815684;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1054",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 292.941,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31061,
    "c": 0.12473,
    "h": 322.7
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#4C1054
secondary
#3D8E32
accent
#EB3D51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1054

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

Preview Lab → · Contrast checker → · Palette generator →

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