#4C1C86#4C1C86

#4C1C86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.163 H 298.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4C1C86
RGBrgb(76, 28, 134)
HSLhsl(267, 65%, 32%)
HSVhsv(267, 79%, 53%)
CMYKcmyk(43.3%, 79.1%, 0%, 47.5%)
CIE-LABlab(23.96, 44.08, -50.10)
CIE-LCHlch(23.96, 66.73, 311.35°)
OKLaboklab(36.45% 0.0772 -0.1433)
OKLCHoklch(36.45% 0.163 298.3)
XYZxyz(7.6977, 4.0881, 22.9332)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1C86 #56861C
analogous
#1C2186 #4C1C86 #811C86
triadic
#4C1C86 #864C1C #1C864C
tetradic
#4C1C86 #861C21 #56861C #1C8681
square
#4C1C86 #861C21 #56861C #1C8681
split-complementary
#4C1C86 #86811C #21861C
monochromatic
#130721 #2F1153 #4C1C86 #6927B9 #8744D8

Accessibility & contrast

On white

11.55
#4C1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4C1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1C86
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1C86#FFFFFF#000000##FFFFFF
##4C1C861.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#3D3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c1c86;
/* rgb */ color: rgb(76, 28, 134);
/* oklch */ color: oklch(36.4% 0.163 298.3);
Tailwind
colors: {
  custom: {
    50: '#845eaa',
    500: '#4c1c86',
    950: '#000000',
  },
}
SCSS
$custom: #4c1c86;
$custom-light: #845eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1c86",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 267.17,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.1628,
    "h": 298.3
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#4C1C86
secondary
#84B945
accent
#E83F9C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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