#4C1573#4C1573

#4C1573 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 306.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#4C1573
RGBrgb(76, 21, 115)
HSLhsl(275, 69%, 27%)
HSVhsv(275, 82%, 45%)
CMYKcmyk(33.9%, 81.7%, 0%, 54.9%)
CIE-LABlab(21.25, 42.25, -42.45)
CIE-LCHlch(21.25, 59.90, 314.87°)
OKLaboklab(34.03% 0.0887 -0.1208)
OKLCHoklch(34.03% 0.15 306.3)
XYZxyz(6.3425, 3.3107, 16.5212)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1573 #3C7315
analogous
#1D1573 #4C1573 #73156B
triadic
#4C1573 #734C15 #15734C
tetradic
#4C1573 #731D15 #3C7315 #156B73
square
#4C1573 #731D15 #3C7315 #156B73
split-complementary
#4C1573 #6B7315 #15731D
monochromatic
#11051A #2A0C3F #4C1573 #6E1EA7 #902AD8

Accessibility & contrast

On white

12.63
#4C1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4C1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1573
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1573#FFFFFF#000000##FFFFFF
##4C15731.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#452D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4c1573;
/* rgb */ color: rgb(76, 21, 115);
/* oklch */ color: oklch(34.0% 0.150 306.3);
Tailwind
colors: {
  custom: {
    50: '#835a9c',
    500: '#4c1573',
    950: '#000000',
  },
}
SCSS
$custom: #4c1573;
$custom-light: #835a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1573",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 275.106,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34028,
    "c": 0.14987,
    "h": 306.3
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#4C1573
secondary
#69A93B
accent
#EC3C85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C1573

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

Preview Lab → · Contrast checker → · Palette generator →

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