#4C1348#4C1348

#4C1348 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.110 H 330.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#4C1348
RGBrgb(76, 19, 72)
HSLhsl(304, 60%, 19%)
HSVhsv(304, 75%, 30%)
CMYKcmyk(0%, 75%, 5.3%, 70.2%)
CIE-LABlab(17.78, 33.68, -19.41)
CIE-LCHlch(17.78, 38.87, 330.04°)
OKLaboklab(30.56% 0.0958 -0.0534)
OKLCHoklch(30.56% 0.11 330.9)
XYZxyz(4.3830, 2.4705, 6.3756)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1348 #134C17
analogous
#33134C #4C1348 #4C132B
triadic
#4C1348 #484C13 #13484C
tetradic
#4C1348 #4C3313 #134C17 #132B4C
square
#4C1348 #4C3313 #134C17 #132B4C
split-complementary
#4C1348 #2B4C13 #134C33
monochromatic
#180617 #1B071A #4C1348 #7D1F76 #AE2BA5

Accessibility & contrast

On white

14.06
#4C1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1348
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1348#FFFFFF#000000##FFFFFF
##4C13481.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F264A
Deuteranopia (green-blind)
#242E47
Tritanopia (blue-blind)
#4F192B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c1348;
/* rgb */ color: rgb(76, 19, 72);
/* oklch */ color: oklch(30.6% 0.110 330.9);
Tailwind
colors: {
  custom: {
    50: '#80577b',
    500: '#4c1348',
    950: '#000000',
  },
}
SCSS
$custom: #4c1348;
$custom-light: #80577b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1348",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 304.211,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.10972,
    "h": 330.9
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#4C1348
secondary
#36853C
accent
#E35045
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1348

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

Preview Lab → · Contrast checker → · Palette generator →

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