#4C106D#4C106D

#4C106D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.149 H 309.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4C106D
RGBrgb(76, 16, 109)
HSLhsl(279, 74%, 25%)
HSVhsv(279, 85%, 43%)
CMYKcmyk(30.3%, 85.3%, 0%, 57.3%)
CIE-LABlab(20.09, 42.70, -40.46)
CIE-LCHlch(20.09, 58.82, 316.55°)
OKLaboklab(33.06% 0.0945 -0.1149)
OKLCHoklch(33.06% 0.149 309.4)
XYZxyz(5.9255, 3.0113, 14.7341)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C106D #316D10
analogous
#1E106D #4C106D #6D1060
triadic
#4C106D #6D4C10 #106D4C
tetradic
#4C106D #6D1E10 #316D10 #10606D
square
#4C106D #6D1E10 #316D10 #10606D
split-complementary
#4C106D #606D10 #106D1E
monochromatic
#13041B #270838 #4C106D #7118A2 #9620D8

Accessibility & contrast

On white

13.11
#4C106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C106D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C106D#FFFFFF#000000##FFFFFF
##4C106D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#47293F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c106d;
/* rgb */ color: rgb(76, 16, 109);
/* oklch */ color: oklch(33.1% 0.149 309.4);
Tailwind
colors: {
  custom: {
    50: '#825798',
    500: '#4c106d',
    950: '#000000',
  },
}
SCSS
$custom: #4c106d;
$custom-light: #825798;
$custom-dark: #000000;
JSON
{
  "hex": "#4c106d",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 278.71,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.14882,
    "h": 309.4
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#4C106D
secondary
#5CA534
accent
#F13779
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C106D

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

Preview Lab → · Contrast checker → · Palette generator →

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