#4C105F#4C105F

#4C105F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.135 H 316.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4C105F
RGBrgb(76, 16, 95)
HSLhsl(286, 71%, 22%)
HSVhsv(286, 83%, 37%)
CMYKcmyk(20%, 83.2%, 0%, 62.7%)
CIE-LABlab(18.94, 39.57, -33.12)
CIE-LCHlch(18.94, 51.60, 320.08°)
OKLaboklab(31.89% 0.0978 -0.0934)
OKLCHoklch(31.89% 0.135 316.3)
XYZxyz(5.2310, 2.7335, 11.0763)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C105F #235F10
analogous
#25105F #4C105F #5F104B
triadic
#4C105F #5F4C10 #105F4C
tetradic
#4C105F #5F2510 #235F10 #104B5F
square
#4C105F #5F2510 #235F10 #104B5F
split-complementary
#4C105F #4B5F10 #105F25
monochromatic
#15041A #22072B #4C105F #761993 #A022C8

Accessibility & contrast

On white

13.58
#4C105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C105F
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C105F#FFFFFF#000000##FFFFFF
##4C105F1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#0F305D
Tritanopia (blue-blind)
#4B2237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c105f;
/* rgb */ color: rgb(76, 16, 95);
/* oklch */ color: oklch(31.9% 0.135 316.3);
Tailwind
colors: {
  custom: {
    50: '#81568d',
    500: '#4c105f',
    950: '#000000',
  },
}
SCSS
$custom: #4c105f;
$custom-light: #81568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c105f",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 285.57,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31894,
    "c": 0.13519,
    "h": 316.3
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#4C105F
secondary
#4B9833
accent
#EE3A65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C105F

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

Preview Lab → · Contrast checker → · Palette generator →

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