#4C1460#4C1460

#4C1460 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.132 H 315.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4C1460
RGBrgb(76, 20, 96)
HSLhsl(284, 66%, 23%)
HSVhsv(284, 79%, 38%)
CMYKcmyk(20.8%, 79.2%, 0%, 62.4%)
CIE-LABlab(19.56, 38.23, -32.78)
CIE-LCHlch(19.56, 50.36, 319.39°)
OKLaboklab(32.36% 0.0937 -0.0924)
OKLCHoklch(32.36% 0.132 315.4)
XYZxyz(5.3416, 2.8815, 11.3389)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1460 #286014
analogous
#261460 #4C1460 #60144E
triadic
#4C1460 #604C14 #14604C
tetradic
#4C1460 #602614 #286014 #144E60
square
#4C1460 #602614 #286014 #144E60
split-complementary
#4C1460 #4E6014 #146026
monochromatic
#140519 #24092D #4C1460 #741F93 #9C29C5

Accessibility & contrast

On white

13.32
#4C1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4C1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1460
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1460#FFFFFF#000000##FFFFFF
##4C14601.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#12315E
Tritanopia (blue-blind)
#4A2539
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1460;
/* rgb */ color: rgb(76, 20, 96);
/* oklch */ color: oklch(32.4% 0.132 315.4);
Tailwind
colors: {
  custom: {
    50: '#81588e',
    500: '#4c1460',
    950: '#000000',
  },
}
SCSS
$custom: #4c1460;
$custom-light: #81588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1460",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 284.211,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32356,
    "c": 0.13156,
    "h": 315.4
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#4C1460
secondary
#519838
accent
#E83F6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1460

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

Preview Lab → · Contrast checker → · Palette generator →

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