#4C1664#4C1664

#4C1664 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.133 H 313.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4C1664
RGBrgb(76, 22, 100)
HSLhsl(282, 64%, 24%)
HSVhsv(282, 78%, 39%)
CMYKcmyk(24%, 78%, 0%, 60.8%)
CIE-LABlab(20.17, 38.29, -34.45)
CIE-LCHlch(20.17, 51.51, 318.03°)
OKLaboklab(32.88% 0.0909 -0.0973)
OKLCHoklch(32.88% 0.133 313.1)
XYZxyz(5.5672, 3.0306, 12.3458)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1664 #2E6416
analogous
#251664 #4C1664 #641655
triadic
#4C1664 #644C16 #16644C
tetradic
#4C1664 #642516 #2E6416 #165564
square
#4C1664 #642516 #2E6416 #165564
split-complementary
#4C1664 #556416 #166425
monochromatic
#130619 #260B32 #4C1664 #722196 #982CC8

Accessibility & contrast

On white

13.08
#4C1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1664
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1664#FFFFFF#000000##FFFFFF
##4C16641.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#0E3262
Tritanopia (blue-blind)
#49273C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1664;
/* rgb */ color: rgb(76, 22, 100);
/* oklch */ color: oklch(32.9% 0.133 313.1);
Tailwind
colors: {
  custom: {
    50: '#815991',
    500: '#4c1664',
    950: '#000000',
  },
}
SCSS
$custom: #4c1664;
$custom-light: #815991;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1664",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 281.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.13318,
    "h": 313.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#4C1664
secondary
#599B3B
accent
#E74174
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4C1664

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

Preview Lab → · Contrast checker → · Palette generator →

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