#4C134B#4C134B

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

Color values

HEX#4C134B
RGBrgb(76, 19, 75)
HSLhsl(301, 60%, 19%)
HSVhsv(301, 75%, 30%)
CMYKcmyk(0%, 75%, 1.3%, 70.2%)
CIE-LABlab(17.97, 34.25, -21.19)
CIE-LCHlch(17.97, 40.27, 328.26°)
OKLaboklab(30.75% 0.096 -0.0585)
OKLCHoklch(30.75% 0.112 328.6)
XYZxyz(4.4833, 2.5106, 6.9037)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C134B #134C14
analogous
#30134C #4C134B #4C132E
triadic
#4C134B #4B4C13 #134B4C
tetradic
#4C134B #4C3013 #134C14 #132E4C
square
#4C134B #4C3013 #134C14 #132E4C
split-complementary
#4C134B #2E4C13 #134C30
monochromatic
#180618 #1B071B #4C134B #7D1F7B #AE2BAC

Accessibility & contrast

On white

13.98
#4C134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C134B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C134B#FFFFFF#000000##FFFFFF
##4C134B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274D
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#4F1B2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c134b;
/* rgb */ color: rgb(76, 19, 75);
/* oklch */ color: oklch(30.8% 0.112 328.6);
Tailwind
colors: {
  custom: {
    50: '#80577d',
    500: '#4c134b',
    950: '#000000',
  },
}
SCSS
$custom: #4c134b;
$custom-light: #80577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c134b",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 301.053,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30752,
    "c": 0.11245,
    "h": 328.6
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#4C134B
secondary
#368538
accent
#E34745
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C134B

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

Preview Lab → · Contrast checker → · Palette generator →

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