#4C1753#4C1753

#4C1753 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.114 H 322.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4C1753
RGBrgb(76, 23, 83)
HSLhsl(293, 57%, 21%)
HSVhsv(293, 72%, 33%)
CMYKcmyk(8.4%, 72.3%, 0%, 67.5%)
CIE-LABlab(19.12, 34.07, -24.81)
CIE-LCHlch(19.12, 42.14, 323.94°)
OKLaboklab(31.74% 0.0912 -0.0691)
OKLCHoklch(31.74% 0.114 322.8)
XYZxyz(4.8481, 2.7741, 8.4620)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1753 #1E5317
analogous
#2E1753 #4C1753 #53173C
triadic
#4C1753 #534C17 #17534C
tetradic
#4C1753 #532E17 #1E5317 #173C53
square
#4C1753 #532E17 #1E5317 #173C53
split-complementary
#4C1753 #3C5317 #17532E
monochromatic
#160718 #200A23 #4C1753 #782483 #A432B3

Accessibility & contrast

On white

13.51
#4C1753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C1753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1753
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1753#FFFFFF#000000##FFFFFF
##4C17531.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A55
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#4D2133
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1753;
/* rgb */ color: rgb(76, 23, 83);
/* oklch */ color: oklch(31.7% 0.114 322.8);
Tailwind
colors: {
  custom: {
    50: '#805984',
    500: '#4c1753',
    950: '#000000',
  },
}
SCSS
$custom: #4c1753;
$custom-light: #805984;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1753",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 293,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.11438,
    "h": 322.8
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#4C1753
secondary
#458A3C
accent
#E0485A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4C1753

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

Preview Lab → · Contrast checker → · Palette generator →

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