#4C105A#4C105A

#4C105A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.130 H 319.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4C105A
RGBrgb(76, 16, 90)
HSLhsl(289, 70%, 21%)
HSVhsv(289, 82%, 35%)
CMYKcmyk(15.6%, 82.2%, 0%, 64.7%)
CIE-LABlab(18.56, 38.50, -30.39)
CIE-LCHlch(18.56, 49.05, 321.71°)
OKLaboklab(31.51% 0.0986 -0.0854)
OKLCHoklch(31.51% 0.13 319.1)
XYZxyz(5.0110, 2.6455, 9.9176)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C105A #1E5A10
analogous
#27105A #4C105A #5A1043
triadic
#4C105A #5A4C10 #105A4C
tetradic
#4C105A #5A2710 #1E5A10 #10435A
square
#4C105A #5A2710 #1E5A10 #10435A
split-complementary
#4C105A #435A10 #105A27
monochromatic
#16051A #200726 #4C105A #78198E #A422C2

Accessibility & contrast

On white

13.73
#4C105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C105A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C105A#FFFFFF#000000##FFFFFF
##4C105A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#4C2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c105a;
/* rgb */ color: rgb(76, 16, 90);
/* oklch */ color: oklch(31.5% 0.130 319.1);
Tailwind
colors: {
  custom: {
    50: '#815689',
    500: '#4c105a',
    950: '#000000',
  },
}
SCSS
$custom: #4c105a;
$custom-light: #815689;
$custom-dark: #000000;
JSON
{
  "hex": "#4c105a",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 288.649,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.13039,
    "h": 319.1
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#4C105A
secondary
#459333
accent
#ED3B5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C105A

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

Preview Lab → · Contrast checker → · Palette generator →

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