#4C134F#4C134F

#4C134F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.116 H 325.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4C134F
RGBrgb(76, 19, 79)
HSLhsl(297, 61%, 19%)
HSVhsv(297, 76%, 31%)
CMYKcmyk(3.8%, 75.9%, 0%, 69%)
CIE-LABlab(18.22, 35.04, -23.52)
CIE-LCHlch(18.22, 42.20, 326.13°)
OKLaboklab(31.01% 0.0961 -0.0653)
OKLCHoklch(31.01% 0.116 325.8)
XYZxyz(4.6245, 2.5671, 7.6475)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C134F #164F13
analogous
#2E134F #4C134F #4F1334
triadic
#4C134F #4F4C13 #134F4C
tetradic
#4C134F #4F2E13 #164F13 #13344F
square
#4C134F #4F2E13 #164F13 #13344F
split-complementary
#4C134F #344F13 #134F2E
monochromatic
#180619 #1D071E #4C134F #7B1F80 #AB2BB2

Accessibility & contrast

On white

13.88
#4C134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C134F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C134F#FFFFFF#000000##FFFFFF
##4C134F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062851
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#4E1C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c134f;
/* rgb */ color: rgb(76, 19, 79);
/* oklch */ color: oklch(31.0% 0.116 325.8);
Tailwind
colors: {
  custom: {
    50: '#805780',
    500: '#4c134f',
    950: '#000000',
  },
}
SCSS
$custom: #4c134f;
$custom-light: #805780;
$custom-dark: #000000;
JSON
{
  "hex": "#4c134f",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 297,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31015,
    "c": 0.11619,
    "h": 325.8
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#4C134F
secondary
#3A8836
accent
#E4434C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4C134F

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

Preview Lab → · Contrast checker → · Palette generator →

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