#4C1249#4C1249

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

Color values

HEX#4C1249
RGBrgb(76, 18, 73)
HSLhsl(303, 62%, 18%)
HSVhsv(303, 76%, 30%)
CMYKcmyk(0%, 76.3%, 3.9%, 70.2%)
CIE-LABlab(17.69, 34.29, -20.25)
CIE-LCHlch(17.69, 39.82, 329.44°)
OKLaboklab(30.51% 0.0971 -0.0558)
OKLCHoklch(30.51% 0.112 330.1)
XYZxyz(4.3994, 2.4505, 6.5433)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1249 #124C15
analogous
#32124C #4C1249 #4C122C
triadic
#4C1249 #494C12 #12494C
tetradic
#4C1249 #4C3212 #124C15 #122C4C
square
#4C1249 #4C3212 #124C15 #122C4C
split-complementary
#4C1249 #2C4C12 #124C32
monochromatic
#190618 #1B0619 #4C1249 #7D1E79 #AF29A8

Accessibility & contrast

On white

14.09
#4C1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1249
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1249#FFFFFF#000000##FFFFFF
##4C12491.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C264B
Deuteranopia (green-blind)
#232E48
Tritanopia (blue-blind)
#4F192C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1249;
/* rgb */ color: rgb(76, 18, 73);
/* oklch */ color: oklch(30.5% 0.112 330.1);
Tailwind
colors: {
  custom: {
    50: '#80567c',
    500: '#4c1249',
    950: '#000000',
  },
}
SCSS
$custom: #4c1249;
$custom-light: #80567c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1249",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 303.103,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.11203,
    "h": 330.1
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#4C1249
secondary
#358539
accent
#E54B43
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1249

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

Preview Lab → · Contrast checker → · Palette generator →

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