#4C105B#4C105B

#4C105B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.131 H 318.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#4C105B
RGBrgb(76, 16, 91)
HSLhsl(288, 70%, 21%)
HSVhsv(288, 82%, 36%)
CMYKcmyk(16.5%, 82.4%, 0%, 64.3%)
CIE-LABlab(18.64, 38.71, -30.94)
CIE-LCHlch(18.64, 49.56, 321.37°)
OKLaboklab(31.58% 0.0984 -0.087)
OKLCHoklch(31.58% 0.131 318.5)
XYZxyz(5.0539, 2.6627, 10.1432)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C105B #1F5B10
analogous
#26105B #4C105B #5B1044
triadic
#4C105B #5B4C10 #105B4C
tetradic
#4C105B #5B2610 #1F5B10 #10445B
square
#4C105B #5B2610 #1F5B10 #10445B
split-complementary
#4C105B #445B10 #105B26
monochromatic
#16051A #210727 #4C105B #77198F #A322C3

Accessibility & contrast

On white

13.70
#4C105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4C105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C105B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C105B#FFFFFF#000000##FFFFFF
##4C105B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#142F59
Tritanopia (blue-blind)
#4C2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c105b;
/* rgb */ color: rgb(76, 16, 91);
/* oklch */ color: oklch(31.6% 0.131 318.5);
Tailwind
colors: {
  custom: {
    50: '#81568a',
    500: '#4c105b',
    950: '#000000',
  },
}
SCSS
$custom: #4c105b;
$custom-light: #81568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c105b",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 288,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31582,
    "c": 0.13135,
    "h": 318.5
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#4C105B
secondary
#469433
accent
#ED3B5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C105B

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

Preview Lab → · Contrast checker → · Palette generator →

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