#4C1C95#4C1C95

#4C1C95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.179 H 293.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4C1C95
RGBrgb(76, 28, 149)
HSLhsl(264, 68%, 35%)
HSVhsv(264, 81%, 58%)
CMYKcmyk(49%, 81.2%, 0%, 41.6%)
CIE-LABlab(25.37, 48.03, -57.11)
CIE-LCHlch(25.37, 74.62, 310.07°)
OKLaboklab(37.86% 0.0725 -0.1639)
OKLCHoklch(37.86% 0.179 293.9)
XYZxyz(8.8191, 4.5367, 28.8389)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1C95 #65951C
analogous
#1C2895 #4C1C95 #891C95
triadic
#4C1C95 #954C1C #1C954C
tetradic
#4C1C95 #951C28 #65951C #1C9589
square
#4C1C95 #951C28 #65951C #1C9589
split-complementary
#4C1C95 #95891C #28951C
monochromatic
#17092E #321261 #4C1C95 #6626C9 #874EDE

Accessibility & contrast

On white

11.01
#4C1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4C1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1C95
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1C95#FFFFFF#000000##FFFFFF
##4C1C951.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#353F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c1c95;
/* rgb */ color: rgb(76, 28, 149);
/* oklch */ color: oklch(37.9% 0.179 293.9);
Tailwind
colors: {
  custom: {
    50: '#865fb5',
    500: '#4c1c95',
    950: '#000000',
  },
}
SCSS
$custom: #4c1c95;
$custom-light: #865fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1c95",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 263.802,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.17924,
    "h": 293.9
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#4C1C95
secondary
#92C04D
accent
#EB3DA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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