#4C1569#4C1569

#4C1569 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.140 H 310.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#4C1569
RGBrgb(76, 21, 105)
HSLhsl(279, 67%, 25%)
HSVhsv(279, 80%, 41%)
CMYKcmyk(27.6%, 80%, 0%, 58.8%)
CIE-LABlab(20.41, 39.88, -37.33)
CIE-LCHlch(20.41, 54.62, 316.89°)
OKLaboklab(33.18% 0.091 -0.1058)
OKLCHoklch(33.18% 0.14 310.7)
XYZxyz(5.7980, 3.0929, 13.6534)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1569 #326915
analogous
#221569 #4C1569 #69155C
triadic
#4C1569 #694C15 #15694C
tetradic
#4C1569 #692215 #326915 #155C69
square
#4C1569 #692215 #326915 #155C69
split-complementary
#4C1569 #5C6915 #156922
monochromatic
#12051A #270B36 #4C1569 #711F9C #9629CF

Accessibility & contrast

On white

12.97
#4C1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1569
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1569#FFFFFF#000000##FFFFFF
##4C15691.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#033267
Tritanopia (blue-blind)
#48293E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1569;
/* rgb */ color: rgb(76, 21, 105);
/* oklch */ color: oklch(33.2% 0.140 310.7);
Tailwind
colors: {
  custom: {
    50: '#825994',
    500: '#4c1569',
    950: '#000000',
  },
}
SCSS
$custom: #4c1569;
$custom-light: #825994;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1569",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 279.286,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.13955,
    "h": 310.7
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#4C1569
secondary
#5DA03A
accent
#EA3E79
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1569

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

Preview Lab → · Contrast checker → · Palette generator →

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