#4C124B#4C124B

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

Color values

HEX#4C124B
RGBrgb(76, 18, 75)
HSLhsl(301, 62%, 18%)
HSVhsv(301, 76%, 30%)
CMYKcmyk(0%, 76.3%, 1.3%, 70.2%)
CIE-LABlab(17.82, 34.68, -21.43)
CIE-LCHlch(17.82, 40.76, 328.29°)
OKLaboklab(30.64% 0.0972 -0.0592)
OKLCHoklch(30.64% 0.114 328.6)
XYZxyz(4.4668, 2.4774, 6.8982)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C124B #124C13
analogous
#30124C #4C124B #4C122E
triadic
#4C124B #4B4C12 #124B4C
tetradic
#4C124B #4C3012 #124C13 #122E4C
square
#4C124B #4C3012 #124C13 #122E4C
split-complementary
#4C124B #2E4C12 #124C30
monochromatic
#190618 #1B061A #4C124B #7D1E7C #AF29AD

Accessibility & contrast

On white

14.04
#4C124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C124B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C124B#FFFFFF#000000##FFFFFF
##4C124B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274D
Deuteranopia (green-blind)
#222E4A
Tritanopia (blue-blind)
#4F1A2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c124b;
/* rgb */ color: rgb(76, 18, 75);
/* oklch */ color: oklch(30.6% 0.114 328.6);
Tailwind
colors: {
  custom: {
    50: '#80567d',
    500: '#4c124b',
    950: '#000000',
  },
}
SCSS
$custom: #4c124b;
$custom-light: #80567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c124b",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 301.034,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30644,
    "c": 0.11384,
    "h": 328.6
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#4C124B
secondary
#358536
accent
#E54643
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C124B

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

Preview Lab → · Contrast checker → · Palette generator →

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