#4C1355#4C1355

#4C1355 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.122 H 321.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4C1355
RGBrgb(76, 19, 85)
HSLhsl(292, 63%, 20%)
HSVhsv(292, 78%, 33%)
CMYKcmyk(10.6%, 77.6%, 0%, 66.7%)
CIE-LABlab(18.62, 36.27, -26.94)
CIE-LCHlch(18.62, 45.18, 323.39°)
OKLaboklab(31.43% 0.0959 -0.0753)
OKLCHoklch(31.43% 0.122 321.9)
XYZxyz(4.8529, 2.6584, 8.8501)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1355 #1C5513
analogous
#2B1355 #4C1355 #55133D
triadic
#4C1355 #554C13 #13554C
tetradic
#4C1355 #552B13 #1C5513 #133D55
square
#4C1355 #552B13 #1C5513 #133D55
split-complementary
#4C1355 #3D5513 #13552B
monochromatic
#160619 #1F0823 #4C1355 #791E87 #A529B9

Accessibility & contrast

On white

13.71
#4C1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1355
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1355#FFFFFF#000000##FFFFFF
##4C13551.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1C2F53
Tritanopia (blue-blind)
#4D1F32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1355;
/* rgb */ color: rgb(76, 19, 85);
/* oklch */ color: oklch(31.4% 0.122 321.9);
Tailwind
colors: {
  custom: {
    50: '#815785',
    500: '#4c1355',
    950: '#000000',
  },
}
SCSS
$custom: #4c1355;
$custom-light: #815785;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1355",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 291.818,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.12193,
    "h": 321.9
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#4C1355
secondary
#428D36
accent
#E64158
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1355

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

Preview Lab → · Contrast checker → · Palette generator →

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