#4C1153#4C1153

#4C1153 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.123 H 323.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4C1153
RGBrgb(76, 17, 83)
HSLhsl(294, 66%, 20%)
HSVhsv(294, 80%, 33%)
CMYKcmyk(8.4%, 79.5%, 0%, 67.5%)
CIE-LABlab(18.20, 36.67, -26.27)
CIE-LCHlch(18.20, 45.10, 324.38°)
OKLaboklab(31.09% 0.0982 -0.0733)
OKLCHoklch(31.09% 0.123 323.3)
XYZxyz(4.7421, 2.5622, 8.4267)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1153 #185311
analogous
#2B1153 #4C1153 #531139
triadic
#4C1153 #534C11 #11534C
tetradic
#4C1153 #532B11 #185311 #113953
square
#4C1153 #532B11 #185311 #113953
split-complementary
#4C1153 #395311 #11532B
monochromatic
#170519 #1D0720 #4C1153 #7B1B86 #A926B9

Accessibility & contrast

On white

13.89
#4C1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1153
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1153#FFFFFF#000000##FFFFFF
##4C11531.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1153;
/* rgb */ color: rgb(76, 17, 83);
/* oklch */ color: oklch(31.1% 0.123 323.3);
Tailwind
colors: {
  custom: {
    50: '#815684',
    500: '#4c1153',
    950: '#000000',
  },
}
SCSS
$custom: #4c1153;
$custom-light: #815684;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1153",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 293.636,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31086,
    "c": 0.12258,
    "h": 323.3
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#4C1153
secondary
#3D8C34
accent
#E93F51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1153

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

Preview Lab → · Contrast checker → · Palette generator →

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