#4C1145#4C1145

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

Color values

HEX#4C1145
RGBrgb(76, 17, 69)
HSLhsl(307, 63%, 18%)
HSVhsv(307, 78%, 30%)
CMYKcmyk(0%, 77.6%, 9.2%, 70.2%)
CIE-LABlab(17.31, 33.97, -18.09)
CIE-LCHlch(17.31, 38.49, 331.96°)
OKLaboklab(30.16% 0.0981 -0.0496)
OKLCHoklch(30.16% 0.11 333.2)
XYZxyz(4.2551, 2.3674, 5.8619)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1145 #114C18
analogous
#35114C #4C1145 #4C1127
triadic
#4C1145 #454C11 #11454C
tetradic
#4C1145 #4C3511 #114C18 #11274C
square
#4C1145 #4C3511 #114C18 #11274C
split-complementary
#4C1145 #274C11 #114C35
monochromatic
#190617 #1A0618 #4C1145 #7E1C72 #B027A0

Accessibility & contrast

On white

14.25
#4C1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1145
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1145#FFFFFF#000000##FFFFFF
##4C11451.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2546
Deuteranopia (green-blind)
#242E44
Tritanopia (blue-blind)
#501729
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c1145;
/* rgb */ color: rgb(76, 17, 69);
/* oklch */ color: oklch(30.2% 0.110 333.2);
Tailwind
colors: {
  custom: {
    50: '#805679',
    500: '#4c1145',
    950: '#000000',
  },
}
SCSS
$custom: #4c1145;
$custom-light: #805679;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1145",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 307.119,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3016,
    "c": 0.10988,
    "h": 333.2
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#4C1145
secondary
#33853D
accent
#E65541
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4C1145

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

Preview Lab → · Contrast checker → · Palette generator →

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