#4C1464#4C1464

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

Color values

HEX#4C1464
RGBrgb(76, 20, 100)
HSLhsl(282, 67%, 24%)
HSVhsv(282, 80%, 39%)
CMYKcmyk(24%, 80%, 0%, 60.8%)
CIE-LABlab(19.87, 39.13, -34.92)
CIE-LCHlch(19.87, 52.45, 318.25°)
OKLaboklab(32.67% 0.093 -0.0987)
OKLCHoklch(32.67% 0.136 313.3)
XYZxyz(5.5305, 2.9571, 12.3336)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1464 #2C6414
analogous
#241464 #4C1464 #641454
triadic
#4C1464 #644C14 #14644C
tetradic
#4C1464 #642414 #2C6414 #145464
square
#4C1464 #642414 #2C6414 #145464
split-complementary
#4C1464 #546414 #146424
monochromatic
#13051A #250A31 #4C1464 #731E97 #9A28CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C1464#FFFFFF#000000##FFFFFF
##4C14641.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)
#002D66
Deuteranopia (green-blind)
#0C3162
Tritanopia (blue-blind)
#49263B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c1464;
/* rgb */ color: rgb(76, 20, 100);
/* oklch */ color: oklch(32.7% 0.136 313.3);
Tailwind
colors: {
  custom: {
    50: '#815891',
    500: '#4c1464',
    950: '#000000',
  },
}
SCSS
$custom: #4c1464;
$custom-light: #815891;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1464",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 282,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.13561,
    "h": 313.3
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#4C1464
secondary
#569B38
accent
#EA3E72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4C1464

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

Preview Lab → · Contrast checker → · Palette generator →

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