#4C1660#4C1660

#4C1660 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.129 H 315.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4C1660
RGBrgb(76, 22, 96)
HSLhsl(284, 63%, 23%)
HSVhsv(284, 77%, 38%)
CMYKcmyk(20.8%, 77.1%, 0%, 62.4%)
CIE-LABlab(19.86, 37.38, -32.30)
CIE-LCHlch(19.86, 49.40, 319.17°)
OKLaboklab(32.57% 0.0915 -0.091)
OKLCHoklch(32.57% 0.129 315.2)
XYZxyz(5.3784, 2.9550, 11.3511)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1660 #2A6016
analogous
#271660 #4C1660 #60164F
triadic
#4C1660 #604C16 #16604C
tetradic
#4C1660 #602716 #2A6016 #164F60
square
#4C1660 #602716 #2A6016 #164F60
split-complementary
#4C1660 #4F6016 #166027
monochromatic
#140619 #250B2E #4C1660 #732192 #9B2DC4

Accessibility & contrast

On white

13.20
#4C1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4C1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1660
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1660#FFFFFF#000000##FFFFFF
##4C16601.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#14315E
Tritanopia (blue-blind)
#4A2639
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1660;
/* rgb */ color: rgb(76, 22, 96);
/* oklch */ color: oklch(32.6% 0.129 315.2);
Tailwind
colors: {
  custom: {
    50: '#81598e',
    500: '#4c1660',
    950: '#000000',
  },
}
SCSS
$custom: #4c1660;
$custom-light: #81598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1660",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 283.784,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32569,
    "c": 0.12904,
    "h": 315.2
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#4C1660
secondary
#54973B
accent
#E6426E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1660

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

Preview Lab → · Contrast checker → · Palette generator →

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