#4C1263#4C1263

#4C1263 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.137 H 314.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4C1263
RGBrgb(76, 18, 99)
HSLhsl(283, 69%, 23%)
HSVhsv(283, 82%, 39%)
CMYKcmyk(23.2%, 81.8%, 0%, 61.2%)
CIE-LABlab(19.52, 39.70, -34.84)
CIE-LCHlch(19.52, 52.82, 318.73°)
OKLaboklab(32.4% 0.0952 -0.0984)
OKLCHoklch(32.4% 0.137 314)
XYZxyz(5.4485, 2.8702, 12.0689)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1263 #296312
analogous
#231263 #4C1263 #631251
triadic
#4C1263 #634C12 #12634C
tetradic
#4C1263 #632312 #296312 #125163
square
#4C1263 #632312 #296312 #125163
split-complementary
#4C1263 #516312 #126323
monochromatic
#14051A #24092F #4C1263 #741B97 #9C25CB

Accessibility & contrast

On white

13.34
#4C1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1263
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1263#FFFFFF#000000##FFFFFF
##4C12631.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0B3161
Tritanopia (blue-blind)
#4A253A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1263;
/* rgb */ color: rgb(76, 18, 99);
/* oklch */ color: oklch(32.4% 0.137 314.0);
Tailwind
colors: {
  custom: {
    50: '#815790',
    500: '#4c1263',
    950: '#000000',
  },
}
SCSS
$custom: #4c1263;
$custom-light: #815790;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1263",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 282.963,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.1369,
    "h": 314
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#4C1263
secondary
#539B36
accent
#EC3C6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C1263

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

Preview Lab → · Contrast checker → · Palette generator →

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