#4C1466#4C1466

#4C1466 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.138 H 312.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4C1466
RGBrgb(76, 20, 102)
HSLhsl(281, 67%, 24%)
HSVhsv(281, 80%, 40%)
CMYKcmyk(25.5%, 80.4%, 0%, 60%)
CIE-LABlab(20.03, 39.59, -35.98)
CIE-LCHlch(20.03, 53.50, 317.73°)
OKLaboklab(32.83% 0.0926 -0.1018)
OKLCHoklch(32.83% 0.138 312.3)
XYZxyz(5.6285, 2.9963, 12.8496)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1466 #2E6614
analogous
#231466 #4C1466 #661457
triadic
#4C1466 #664C14 #14664C
tetradic
#4C1466 #662314 #2E6614 #145766
square
#4C1466 #662314 #2E6614 #145766
split-complementary
#4C1466 #576614 #146623
monochromatic
#13051A #260A33 #4C1466 #721E99 #9828CC

Accessibility & contrast

On white

13.13
#4C1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1466
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1466#FFFFFF#000000##FFFFFF
##4C14661.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#083164
Tritanopia (blue-blind)
#49273C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1466;
/* rgb */ color: rgb(76, 20, 102);
/* oklch */ color: oklch(32.8% 0.138 312.3);
Tailwind
colors: {
  custom: {
    50: '#825992',
    500: '#4c1466',
    950: '#000000',
  },
}
SCSS
$custom: #4c1466;
$custom-light: #825992;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1466",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 280.976,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.13764,
    "h": 312.3
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4C1466
secondary
#589D39
accent
#EA3E74
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1466

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

Preview Lab → · Contrast checker → · Palette generator →

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