#4C105C#4C105C

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

Color values

HEX#4C105C
RGBrgb(76, 16, 92)
HSLhsl(287, 70%, 21%)
HSVhsv(287, 83%, 36%)
CMYKcmyk(17.4%, 82.6%, 0%, 63.9%)
CIE-LABlab(18.71, 38.93, -31.49)
CIE-LCHlch(18.71, 50.07, 321.03°)
OKLaboklab(31.66% 0.0983 -0.0886)
OKLCHoklch(31.66% 0.132 318)
XYZxyz(5.0973, 2.6800, 10.3719)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C105C #205C10
analogous
#26105C #4C105C #5C1046
triadic
#4C105C #5C4C10 #105C4C
tetradic
#4C105C #5C2610 #205C10 #10465C
square
#4C105C #5C2610 #205C10 #10465C
split-complementary
#4C105C #465C10 #105C26
monochromatic
#16051A #210728 #4C105C #771990 #A222C4

Accessibility & contrast

On white

13.67
#4C105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C105C
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C105C#FFFFFF#000000##FFFFFF
##4C105C1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#132F5A
Tritanopia (blue-blind)
#4B2136
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c105c;
/* rgb */ color: rgb(76, 16, 92);
/* oklch */ color: oklch(31.7% 0.132 318.0);
Tailwind
colors: {
  custom: {
    50: '#81568b',
    500: '#4c105c',
    950: '#000000',
  },
}
SCSS
$custom: #4c105c;
$custom-light: #81568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c105c",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 287.368,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.13231,
    "h": 318
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#4C105C
secondary
#479533
accent
#ED3B60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C105C

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

Preview Lab → · Contrast checker → · Palette generator →

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