#4C134A#4C134A

#4C134A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.112 H 329.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4C134A
RGBrgb(76, 19, 74)
HSLhsl(302, 60%, 19%)
HSVhsv(302, 75%, 30%)
CMYKcmyk(0%, 75%, 2.6%, 70.2%)
CIE-LABlab(17.91, 34.06, -20.60)
CIE-LCHlch(17.91, 39.80, 328.83°)
OKLaboklab(30.69% 0.096 -0.0568)
OKLCHoklch(30.69% 0.112 329.4)
XYZxyz(4.4494, 2.4970, 6.7249)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C134A #134C15
analogous
#31134C #4C134A #4C132D
triadic
#4C134A #4A4C13 #134A4C
tetradic
#4C134A #4C3113 #134C15 #132D4C
square
#4C134A #4C3113 #134C15 #132D4C
split-complementary
#4C134A #2D4C13 #134C31
monochromatic
#180618 #1B071A #4C134A #7D1F7A #AE2BA9

Accessibility & contrast

On white

14.01
#4C134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C134A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C134A#FFFFFF#000000##FFFFFF
##4C134A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#232E49
Tritanopia (blue-blind)
#4F1A2C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c134a;
/* rgb */ color: rgb(76, 19, 74);
/* oklch */ color: oklch(30.7% 0.112 329.4);
Tailwind
colors: {
  custom: {
    50: '#80577d',
    500: '#4c134a',
    950: '#000000',
  },
}
SCSS
$custom: #4c134a;
$custom-light: #80577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c134a",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 302.105,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30688,
    "c": 0.11154,
    "h": 329.4
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#4C134A
secondary
#368539
accent
#E34A45
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C134A

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

Preview Lab → · Contrast checker → · Palette generator →

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