#4C1163#4C1163

#4C1163 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.138 H 314.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4C1163
RGBrgb(76, 17, 99)
HSLhsl(283, 71%, 23%)
HSVhsv(283, 83%, 39%)
CMYKcmyk(23.2%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.38, 40.08, -35.05)
CIE-LCHlch(19.38, 53.25, 318.83°)
OKLaboklab(32.3% 0.0961 -0.099)
OKLCHoklch(32.3% 0.138 314.1)
XYZxyz(5.4327, 2.8384, 12.0637)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1163 #286311
analogous
#231163 #4C1163 #631151
triadic
#4C1163 #634C11 #11634C
tetradic
#4C1163 #632311 #286311 #115163
square
#4C1163 #632311 #286311 #115163
split-complementary
#4C1163 #516311 #116323
monochromatic
#14041A #24082F #4C1163 #741A97 #9C23CB

Accessibility & contrast

On white

13.40
#4C1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1163
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1163#FFFFFF#000000##FFFFFF
##4C11631.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1163;
/* rgb */ color: rgb(76, 17, 99);
/* oklch */ color: oklch(32.3% 0.138 314.1);
Tailwind
colors: {
  custom: {
    50: '#825790',
    500: '#4c1163',
    950: '#000000',
  },
}
SCSS
$custom: #4c1163;
$custom-light: #825790;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1163",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 283.171,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.138,
    "h": 314.1
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#4C1163
secondary
#519B34
accent
#ED3A6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C1163

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

Preview Lab → · Contrast checker → · Palette generator →

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