#4C1D95#4C1D95

#4C1D95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.178 H 293.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4C1D95
RGBrgb(76, 29, 149)
HSLhsl(264, 67%, 35%)
HSVhsv(264, 81%, 58%)
CMYKcmyk(49%, 80.5%, 0%, 41.6%)
CIE-LABlab(25.52, 47.61, -56.87)
CIE-LCHlch(25.52, 74.17, 309.93°)
OKLaboklab(37.96% 0.0718 -0.1632)
OKLCHoklch(37.96% 0.178 293.7)
XYZxyz(8.8432, 4.5849, 28.8470)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1D95 #66951D
analogous
#1D2A95 #4C1D95 #881D95
triadic
#4C1D95 #954C1D #1D954C
tetradic
#4C1D95 #951D2A #66951D #1D9588
square
#4C1D95 #951D2A #66951D #1D9588
split-complementary
#4C1D95 #95881D #2A951D
monochromatic
#18092F #321362 #4C1D95 #6627C8 #8750DD

Accessibility & contrast

On white

10.95
#4C1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4C1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1D95
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1D95#FFFFFF#000000##FFFFFF
##4C1D951.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1d95;
/* rgb */ color: rgb(76, 29, 149);
/* oklch */ color: oklch(38.0% 0.178 293.7);
Tailwind
colors: {
  custom: {
    50: '#865fb5',
    500: '#4c1d95',
    950: '#000000',
  },
}
SCSS
$custom: #4c1d95;
$custom-light: #865fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1d95",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 263.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.17831,
    "h": 293.7
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#4C1D95
secondary
#93C04E
accent
#EA3DA7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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