#4C105D#4C105D

#4C105D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.133 H 317.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4C105D
RGBrgb(76, 16, 93)
HSLhsl(287, 71%, 21%)
HSVhsv(287, 83%, 36%)
CMYKcmyk(18.3%, 82.8%, 0%, 63.5%)
CIE-LABlab(18.79, 39.14, -32.03)
CIE-LCHlch(18.79, 50.58, 320.70°)
OKLaboklab(31.74% 0.0981 -0.0902)
OKLCHoklch(31.74% 0.133 317.4)
XYZxyz(5.1413, 2.6976, 10.6037)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C105D #215D10
analogous
#26105D #4C105D #5D1048
triadic
#4C105D #5D4C10 #105D4C
tetradic
#4C105D #5D2610 #215D10 #10485D
square
#4C105D #5D2610 #215D10 #10485D
split-complementary
#4C105D #485D10 #105D26
monochromatic
#15041A #210729 #4C105D #771991 #A122C5

Accessibility & contrast

On white

13.64
#4C105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4C105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C105D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C105D#FFFFFF#000000##FFFFFF
##4C105D1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#4B2136
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c105d;
/* rgb */ color: rgb(76, 16, 93);
/* oklch */ color: oklch(31.7% 0.133 317.4);
Tailwind
colors: {
  custom: {
    50: '#81568b',
    500: '#4c105d',
    950: '#000000',
  },
}
SCSS
$custom: #4c105d;
$custom-light: #81568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c105d",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 286.753,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.13326,
    "h": 317.4
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#4C105D
secondary
#499633
accent
#ED3A62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C105D

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

Preview Lab → · Contrast checker → · Palette generator →

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