#4C134C#4C134C

#4C134C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.113 H 327.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#4C134C
RGBrgb(76, 19, 76)
HSLhsl(300, 60%, 19%)
HSVhsv(300, 75%, 30%)
CMYKcmyk(0%, 75%, 0%, 70.2%)
CIE-LABlab(18.03, 34.44, -21.77)
CIE-LCHlch(18.03, 40.75, 327.70°)
OKLaboklab(30.82% 0.0961 -0.0602)
OKLCHoklch(30.82% 0.113 327.9)
XYZxyz(4.5178, 2.5244, 7.0854)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C134C #134C13
analogous
#2F134C #4C134C #4C132F
triadic
#4C134C #4C4C13 #134C4C
tetradic
#4C134C #4C2F13 #134C13 #132F4C
square
#4C134C #4C2F13 #134C13 #132F4C
split-complementary
#4C134C #2F4C13 #134C2F
monochromatic
#180618 #1B071B #4C134C #7D1F7D #AE2BAE

Accessibility & contrast

On white

13.96
#4C134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C134C
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C134C#FFFFFF#000000##FFFFFF
##4C134C1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274E
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#4F1B2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c134c;
/* rgb */ color: rgb(76, 19, 76);
/* oklch */ color: oklch(30.8% 0.113 327.9);
Tailwind
colors: {
  custom: {
    50: '#80577e',
    500: '#4c134c',
    950: '#000000',
  },
}
SCSS
$custom: #4c134c;
$custom-light: #80577e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c134c",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30817,
    "c": 0.11338,
    "h": 327.9
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#4C134C
secondary
#368536
accent
#E34545
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C134C

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

Preview Lab → · Contrast checker → · Palette generator →

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