#4C1450#4C1450

#4C1450 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.116 H 325.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4C1450
RGBrgb(76, 20, 80)
HSLhsl(296, 60%, 20%)
HSVhsv(296, 75%, 31%)
CMYKcmyk(5%, 75%, 0%, 68.6%)
CIE-LABlab(18.44, 34.81, -23.85)
CIE-LCHlch(18.44, 42.20, 325.58°)
OKLaboklab(31.19% 0.0949 -0.0663)
OKLCHoklch(31.19% 0.116 325.1)
XYZxyz(4.6785, 2.6163, 7.8464)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1450 #185014
analogous
#2E1450 #4C1450 #501436
triadic
#4C1450 #504C14 #14504C
tetradic
#4C1450 #502E14 #185014 #143650
square
#4C1450 #502E14 #185014 #143650
split-complementary
#4C1450 #365014 #14502E
monochromatic
#170618 #1D081F #4C1450 #7B2081 #A92CB2

Accessibility & contrast

On white

13.79
#4C1450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1450
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1450#FFFFFF#000000##FFFFFF
##4C14501.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062952
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#4E1E30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1450;
/* rgb */ color: rgb(76, 20, 80);
/* oklch */ color: oklch(31.2% 0.116 325.1);
Tailwind
colors: {
  custom: {
    50: '#805781',
    500: '#4c1450',
    950: '#000000',
  },
}
SCSS
$custom: #4c1450;
$custom-light: #805781;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1450",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 296,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31192,
    "c": 0.11576,
    "h": 325.1
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#4C1450
secondary
#3D8838
accent
#E3454F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C1450

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

Preview Lab → · Contrast checker → · Palette generator →

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