#4C1CB4#4C1CB4

#4C1CB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.213 H 286.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4C1CB4
RGBrgb(76, 28, 180)
HSLhsl(259, 73%, 41%)
HSVhsv(259, 84%, 71%)
CMYKcmyk(57.8%, 84.4%, 0%, 29.4%)
CIE-LABlab(28.54, 56.25, -70.67)
CIE-LCHlch(28.54, 90.32, 308.51°)
OKLaboklab(41% 0.0615 -0.2035)
OKLCHoklch(41% 0.213 286.8)
XYZxyz(11.6315, 5.6616, 43.6511)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1CB4 #84B41C
analogous
#1C38B4 #4C1CB4 #981CB4
triadic
#4C1CB4 #B44C1C #1CB44C
tetradic
#4C1CB4 #B41C38 #84B41C #1CB498
square
#4C1CB4 #B41C38 #84B41C #1CB498
split-complementary
#4C1CB4 #B4981C #38B41C
monochromatic
#1F0C4A #36147F #4C1CB4 #662FDF #8D64E7

Accessibility & contrast

On white

9.85
#4C1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4C1CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1CB4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1CB4#FFFFFF#000000##FFFFFF
##4C1CB41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#164C6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c1cb4;
/* rgb */ color: rgb(76, 28, 180);
/* oklch */ color: oklch(41.0% 0.213 286.8);
Tailwind
colors: {
  custom: {
    50: '#8b61cc',
    500: '#4c1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4c1cb4;
$custom-light: #8b61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1cb4",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 258.947,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.21262,
    "h": 286.8
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#4C1CB4
secondary
#AACC60
accent
#F038B6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4C1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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