#4C1253#4C1253

#4C1253 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.121 H 323.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4C1253
RGBrgb(76, 18, 83)
HSLhsl(294, 64%, 20%)
HSVhsv(294, 78%, 33%)
CMYKcmyk(8.4%, 78.3%, 0%, 67.5%)
CIE-LABlab(18.34, 36.27, -26.05)
CIE-LCHlch(18.34, 44.65, 324.32°)
OKLaboklab(31.19% 0.0971 -0.0727)
OKLCHoklch(31.19% 0.121 323.2)
XYZxyz(4.7580, 2.5939, 8.4320)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1253 #195312
analogous
#2B1253 #4C1253 #53123A
triadic
#4C1253 #534C12 #12534C
tetradic
#4C1253 #532B12 #195312 #123A53
square
#4C1253 #532B12 #195312 #123A53
split-complementary
#4C1253 #3A5312 #12532B
monochromatic
#170519 #1E0721 #4C1253 #7A1D85 #A828B8

Accessibility & contrast

On white

13.83
#4C1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4C1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1253
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1253#FFFFFF#000000##FFFFFF
##4C12531.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#4D1E31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c1253;
/* rgb */ color: rgb(76, 18, 83);
/* oklch */ color: oklch(31.2% 0.121 323.2);
Tailwind
colors: {
  custom: {
    50: '#815784',
    500: '#4c1253',
    950: '#000000',
  },
}
SCSS
$custom: #4c1253;
$custom-light: #815784;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1253",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 293.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31186,
    "c": 0.12131,
    "h": 323.2
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#4C1253
secondary
#3E8C35
accent
#E74052
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C1253

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

Preview Lab → · Contrast checker → · Palette generator →

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