#4C1245#4C1245

#4C1245 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.108 H 333.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4C1245
RGBrgb(76, 18, 69)
HSLhsl(307, 62%, 18%)
HSVhsv(307, 76%, 30%)
CMYKcmyk(0%, 76.3%, 9.2%, 70.2%)
CIE-LABlab(17.46, 33.55, -17.86)
CIE-LCHlch(17.46, 38.01, 331.98°)
OKLaboklab(30.27% 0.0968 -0.0489)
OKLCHoklch(30.27% 0.108 333.2)
XYZxyz(4.2710, 2.3991, 5.8672)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1245 #124C19
analogous
#36124C #4C1245 #4C1228
triadic
#4C1245 #454C12 #12454C
tetradic
#4C1245 #4C3612 #124C19 #12284C
square
#4C1245 #4C3612 #124C19 #12284C
split-complementary
#4C1245 #284C12 #124C36
monochromatic
#190616 #1B0618 #4C1245 #7D1E72 #AF299F

Accessibility & contrast

On white

14.19
#4C1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1245
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1245#FFFFFF#000000##FFFFFF
##4C12451.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#501729
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1245;
/* rgb */ color: rgb(76, 18, 69);
/* oklch */ color: oklch(30.3% 0.108 333.2);
Tailwind
colors: {
  custom: {
    50: '#805679',
    500: '#4c1245',
    950: '#000000',
  },
}
SCSS
$custom: #4c1245;
$custom-light: #805679;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1245",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 307.241,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.10849,
    "h": 333.2
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#4C1245
secondary
#35853E
accent
#E55743
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1245

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

Preview Lab → · Contrast checker → · Palette generator →

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