#4C1964#4C1964

#4C1964 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.2% C 0.129 H 312.6°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4C1964
RGBrgb(76, 25, 100)
HSLhsl(281, 60%, 25%)
HSVhsv(281, 75%, 39%)
CMYKcmyk(24%, 75%, 0%, 60.8%)
CIE-LABlab(20.64, 36.94, -33.68)
CIE-LCHlch(20.64, 49.99, 317.65°)
OKLaboklab(33.22% 0.0876 -0.0951)
OKLCHoklch(33.22% 0.129 312.6)
XYZxyz(5.6280, 3.1520, 12.3661)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1964 #316419
analogous
#271964 #4C1964 #641957
triadic
#4C1964 #644C19 #19644C
tetradic
#4C1964 #642719 #316419 #195764
square
#4C1964 #642719 #316419 #195764
split-complementary
#4C1964 #576419 #196427
monochromatic
#130618 #270D33 #4C1964 #712595 #9631C6

Accessibility & contrast

On white

12.88
#4C1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4C1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1964
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1964#FFFFFF#000000##FFFFFF
##4C19641.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#123362
Tritanopia (blue-blind)
#49293C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4c1964;
/* rgb */ color: rgb(76, 25, 100);
/* oklch */ color: oklch(33.2% 0.129 312.6);
Tailwind
colors: {
  custom: {
    50: '#815b91',
    500: '#4c1964',
    950: '#000000',
  },
}
SCSS
$custom: #4c1964;
$custom-light: #815b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1964",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 280.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.12927,
    "h": 312.6
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#4C1964
secondary
#5C9A3F
accent
#E34577
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4C1964

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

Preview Lab → · Contrast checker → · Palette generator →

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