#4C1452#4C1452

#4C1452 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.118 H 323.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4C1452
RGBrgb(76, 20, 82)
HSLhsl(294, 61%, 20%)
HSVhsv(294, 76%, 32%)
CMYKcmyk(7.3%, 75.6%, 0%, 67.8%)
CIE-LABlab(18.57, 35.22, -25.00)
CIE-LCHlch(18.57, 43.19, 324.63°)
OKLaboklab(31.33% 0.0949 -0.0696)
OKLCHoklch(31.33% 0.118 323.7)
XYZxyz(4.7535, 2.6463, 8.2414)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1452 #1A5214
analogous
#2D1452 #4C1452 #521439
triadic
#4C1452 #524C14 #14524C
tetradic
#4C1452 #522D14 #1A5214 #143952
square
#4C1452 #522D14 #1A5214 #143952
split-complementary
#4C1452 #395214 #14522D
monochromatic
#170619 #1E0821 #4C1452 #7A2083 #A72CB4

Accessibility & contrast

On white

13.73
#4C1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1452
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1452#FFFFFF#000000##FFFFFF
##4C14521.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042954
Deuteranopia (green-blind)
#1E2F50
Tritanopia (blue-blind)
#4D1E31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1452;
/* rgb */ color: rgb(76, 20, 82);
/* oklch */ color: oklch(31.3% 0.118 323.7);
Tailwind
colors: {
  custom: {
    50: '#805783',
    500: '#4c1452',
    950: '#000000',
  },
}
SCSS
$custom: #4c1452;
$custom-light: #805783;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1452",
  "rgb": {
    "r": 76,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 294.194,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31329,
    "c": 0.11769,
    "h": 323.7
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#4C1452
secondary
#408A38
accent
#E44453
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C1452

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

Preview Lab → · Contrast checker → · Palette generator →

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