#4C106F#4C106F

#4C106F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.151 H 308.6°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4C106F
RGBrgb(76, 16, 111)
HSLhsl(278, 75%, 25%)
HSVhsv(278, 86%, 44%)
CMYKcmyk(31.5%, 85.6%, 0%, 56.5%)
CIE-LABlab(20.26, 43.16, -41.47)
CIE-LCHlch(20.26, 59.86, 316.14°)
OKLaboklab(33.23% 0.094 -0.1179)
OKLCHoklch(33.23% 0.151 308.6)
XYZxyz(6.0344, 3.0549, 15.3076)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C106F #336F10
analogous
#1D106F #4C106F #6F1062
triadic
#4C106F #6F4C10 #106F4C
tetradic
#4C106F #6F1D10 #336F10 #10626F
square
#4C106F #6F1D10 #336F10 #10626F
split-complementary
#4C106F #626F10 #106F1D
monochromatic
#12041B #27083A #4C106F #7118A4 #951FDA

Accessibility & contrast

On white

13.04
#4C106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C106F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C106F#FFFFFF#000000##FFFFFF
##4C106F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#462941
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c106f;
/* rgb */ color: rgb(76, 16, 111);
/* oklch */ color: oklch(33.2% 0.151 308.6);
Tailwind
colors: {
  custom: {
    50: '#825799',
    500: '#4c106f',
    950: '#000000',
  },
}
SCSS
$custom: #4c106f;
$custom-light: #825799;
$custom-dark: #000000;
JSON
{
  "hex": "#4c106f",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 277.895,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.15078,
    "h": 308.6
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#4C106F
secondary
#5EA734
accent
#F1367B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4C106F

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

Preview Lab → · Contrast checker → · Palette generator →

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