#4C1366#4C1366

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

Color values

HEX#4C1366
RGBrgb(76, 19, 102)
HSLhsl(281, 69%, 24%)
HSVhsv(281, 81%, 40%)
CMYKcmyk(25.5%, 81.4%, 0%, 60%)
CIE-LABlab(19.89, 39.99, -36.21)
CIE-LCHlch(19.89, 53.95, 317.84°)
OKLaboklab(32.74% 0.0936 -0.1025)
OKLCHoklch(32.74% 0.139 312.4)
XYZxyz(5.6112, 2.9617, 12.8439)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1366 #2D6613
analogous
#221366 #4C1366 #661356
triadic
#4C1366 #664C13 #13664C
tetradic
#4C1366 #662213 #2D6613 #135666
square
#4C1366 #662213 #2D6613 #135666
split-complementary
#4C1366 #566613 #136622
monochromatic
#13051A #260932 #4C1366 #721D9A #9926CD

Accessibility & contrast

On white

13.19
#4C1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1366
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1366#FFFFFF#000000##FFFFFF
##4C13661.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1366;
/* rgb */ color: rgb(76, 19, 102);
/* oklch */ color: oklch(32.7% 0.139 312.4);
Tailwind
colors: {
  custom: {
    50: '#825892',
    500: '#4c1366',
    950: '#000000',
  },
}
SCSS
$custom: #4c1366;
$custom-light: #825892;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1366",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 281.205,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.13878,
    "h": 312.4
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#4C1366
secondary
#579D37
accent
#EB3C73
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4C1366

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

Preview Lab → · Contrast checker → · Palette generator →

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