#4C106C#4C106C

#4C106C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.148 H 309.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4C106C
RGBrgb(76, 16, 108)
HSLhsl(279, 74%, 24%)
HSVhsv(279, 85%, 42%)
CMYKcmyk(29.6%, 85.2%, 0%, 57.6%)
CIE-LABlab(20.00, 42.47, -39.95)
CIE-LCHlch(20.00, 58.31, 316.76°)
OKLaboklab(32.97% 0.0948 -0.1134)
OKLCHoklch(32.97% 0.148 309.9)
XYZxyz(5.8720, 2.9899, 14.4522)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C106C #306C10
analogous
#1E106C #4C106C #6C105E
triadic
#4C106C #6C4C10 #106C4C
tetradic
#4C106C #6C1E10 #306C10 #105E6C
square
#4C106C #6C1E10 #306C10 #105E6C
split-complementary
#4C106C #5E6C10 #106C1E
monochromatic
#13041B #260837 #4C106C #7218A1 #9720D7

Accessibility & contrast

On white

13.14
#4C106C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4C106C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C106C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C106C#FFFFFF#000000##FFFFFF
##4C106C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#47283F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c106c;
/* rgb */ color: rgb(76, 16, 108);
/* oklch */ color: oklch(33.0% 0.148 309.9);
Tailwind
colors: {
  custom: {
    50: '#825797',
    500: '#4c106c',
    950: '#000000',
  },
}
SCSS
$custom: #4c106c;
$custom-light: #825797;
$custom-dark: #000000;
JSON
{
  "hex": "#4c106c",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 108
  },
  "hsl": {
    "h": 279.13,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.14784,
    "h": 309.9
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#4C106C
secondary
#5BA434
accent
#F13778
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C106C

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

Preview Lab → · Contrast checker → · Palette generator →

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