#4C1960#4C1960

#4C1960 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.125 H 314.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4C1960
RGBrgb(76, 25, 96)
HSLhsl(283, 59%, 24%)
HSVhsv(283, 74%, 38%)
CMYKcmyk(20.8%, 74%, 0%, 62.4%)
CIE-LABlab(20.35, 36.01, -31.52)
CIE-LCHlch(20.35, 47.85, 318.81°)
OKLaboklab(32.92% 0.088 -0.0887)
OKLCHoklch(32.92% 0.125 314.8)
XYZxyz(5.4391, 3.0765, 11.3714)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1960 #2D6019
analogous
#281960 #4C1960 #601950
triadic
#4C1960 #604C19 #19604C
tetradic
#4C1960 #602819 #2D6019 #195060
square
#4C1960 #602819 #2D6019 #195060
split-complementary
#4C1960 #506019 #196028
monochromatic
#130618 #260C2F #4C1960 #722691 #9932C1

Accessibility & contrast

On white

13.00
#4C1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4C1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1960
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1960#FFFFFF#000000##FFFFFF
##4C19601.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#4A273A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c1960;
/* rgb */ color: rgb(76, 25, 96);
/* oklch */ color: oklch(32.9% 0.125 314.8);
Tailwind
colors: {
  custom: {
    50: '#815b8e',
    500: '#4c1960',
    950: '#000000',
  },
}
SCSS
$custom: #4c1960;
$custom-light: #815b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1960",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 283.099,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32915,
    "c": 0.125,
    "h": 314.8
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#4C1960
secondary
#57963F
accent
#E24672
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4C1960

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

Preview Lab → · Contrast checker → · Palette generator →

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