#4C1243#4C1243

#4C1243 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.107 H 334.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4C1243
RGBrgb(76, 18, 67)
HSLhsl(309, 62%, 18%)
HSVhsv(309, 76%, 30%)
CMYKcmyk(0%, 76.3%, 11.8%, 70.2%)
CIE-LABlab(17.34, 33.19, -16.65)
CIE-LCHlch(17.34, 37.13, 333.36°)
OKLaboklab(30.15% 0.0966 -0.0455)
OKLCHoklch(30.15% 0.107 334.8)
XYZxyz(4.2100, 2.3747, 5.5457)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1243 #124C1B
analogous
#38124C #4C1243 #4C1226
triadic
#4C1243 #434C12 #12434C
tetradic
#4C1243 #4C3812 #124C1B #12264C
square
#4C1243 #4C3812 #124C1B #12264C
split-complementary
#4C1243 #264C12 #124C38
monochromatic
#190616 #1B0617 #4C1243 #7D1E6F #AF299A

Accessibility & contrast

On white

14.24
#4C1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1243
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1243#FFFFFF#000000##FFFFFF
##4C12431.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122544
Deuteranopia (green-blind)
#262E42
Tritanopia (blue-blind)
#501628
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1243;
/* rgb */ color: rgb(76, 18, 67);
/* oklch */ color: oklch(30.1% 0.107 334.8);
Tailwind
colors: {
  custom: {
    50: '#805677',
    500: '#4c1243',
    950: '#000000',
  },
}
SCSS
$custom: #4c1243;
$custom-light: #805677;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1243",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 309.31,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.10677,
    "h": 334.8
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#4C1243
secondary
#358541
accent
#E55C43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1243

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

Preview Lab → · Contrast checker → · Palette generator →

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