#4C1150#4C1150

#4C1150 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.120 H 325.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4C1150
RGBrgb(76, 17, 80)
HSLhsl(296, 65%, 19%)
HSVhsv(296, 79%, 31%)
CMYKcmyk(5%, 78.8%, 0%, 68.6%)
CIE-LABlab(17.99, 36.06, -24.56)
CIE-LCHlch(17.99, 43.63, 325.75°)
OKLaboklab(30.88% 0.0984 -0.0683)
OKLCHoklch(30.88% 0.12 325.2)
XYZxyz(4.6288, 2.5169, 7.8299)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1150 #155011
analogous
#2D1150 #4C1150 #501135
triadic
#4C1150 #504C11 #11504C
tetradic
#4C1150 #502D11 #155011 #113550
square
#4C1150 #502D11 #155011 #113550
split-complementary
#4C1150 #355011 #11502D
monochromatic
#180519 #1C061E #4C1150 #7C1C82 #AC26B5

Accessibility & contrast

On white

13.97
#4C1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1150
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1150#FFFFFF#000000##FFFFFF
##4C11501.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022752
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#4E1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1150;
/* rgb */ color: rgb(76, 17, 80);
/* oklch */ color: oklch(30.9% 0.120 325.2);
Tailwind
colors: {
  custom: {
    50: '#815681',
    500: '#4c1150',
    950: '#000000',
  },
}
SCSS
$custom: #4c1150;
$custom-light: #815681;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1150",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 296.19,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.11976,
    "h": 325.2
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#4C1150
secondary
#398933
accent
#E8404B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C1150

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

Preview Lab → · Contrast checker → · Palette generator →

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