#4C1362#4C1362

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

Color values

HEX#4C1362
RGBrgb(76, 19, 98)
HSLhsl(283, 68%, 23%)
HSVhsv(283, 81%, 38%)
CMYKcmyk(22.4%, 80.6%, 0%, 61.6%)
CIE-LABlab(19.57, 39.09, -34.08)
CIE-LCHlch(19.57, 51.86, 318.91°)
OKLaboklab(32.41% 0.0944 -0.0962)
OKLCHoklch(32.41% 0.135 314.4)
XYZxyz(5.4176, 2.8843, 11.8242)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1362 #296213
analogous
#241362 #4C1362 #621350
triadic
#4C1362 #624C13 #13624C
tetradic
#4C1362 #622413 #296213 #135062
square
#4C1362 #622413 #296213 #135062
split-complementary
#4C1362 #506213 #136224
monochromatic
#14051A #24092F #4C1362 #741D95 #9C27C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C1362#FFFFFF#000000##FFFFFF
##4C13621.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)
#002C64
Deuteranopia (green-blind)
#0E3160
Tritanopia (blue-blind)
#4A253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1362;
/* rgb */ color: rgb(76, 19, 98);
/* oklch */ color: oklch(32.4% 0.135 314.4);
Tailwind
colors: {
  custom: {
    50: '#81588f',
    500: '#4c1362',
    950: '#000000',
  },
}
SCSS
$custom: #4c1362;
$custom-light: #81588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1362",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 283.291,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.13477,
    "h": 314.4
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#4C1362
secondary
#539A37
accent
#EA3D6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1362

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

Preview Lab → · Contrast checker → · Palette generator →

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