#4C1C8F#4C1C8F

#4C1C8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.173 H 295.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4C1C8F
RGBrgb(76, 28, 143)
HSLhsl(265, 67%, 34%)
HSVhsv(265, 80%, 56%)
CMYKcmyk(46.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(24.80, 46.45, -54.34)
CIE-LCHlch(24.80, 71.49, 310.52°)
OKLaboklab(37.29% 0.0745 -0.1558)
OKLCHoklch(37.29% 0.173 295.6)
XYZxyz(8.3523, 4.3500, 26.3808)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1C8F #5F8F1C
analogous
#1C268F #4C1C8F #851C8F
triadic
#4C1C8F #8F4C1C #1C8F4C
tetradic
#4C1C8F #8F1C26 #5F8F1C #1C8F85
square
#4C1C8F #8F1C26 #5F8F1C #1C8F85
split-complementary
#4C1C8F #8F851C #268F1C
monochromatic
#160829 #31125C #4C1C8F #6726C2 #874ADC

Accessibility & contrast

On white

11.23
#4C1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4C1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1C8F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1C8F#FFFFFF#000000##FFFFFF
##4C1C8F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#393C55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c1c8f;
/* rgb */ color: rgb(76, 28, 143);
/* oklch */ color: oklch(37.3% 0.173 295.6);
Tailwind
colors: {
  custom: {
    50: '#855fb1',
    500: '#4c1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4c1c8f;
$custom-light: #855fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1c8f",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 265.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.17269,
    "h": 295.6
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#4C1C8F
secondary
#8DBE49
accent
#EA3EA2
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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