#4C1D89#4C1D89

#4C1D89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.165 H 297.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4C1D89
RGBrgb(76, 29, 137)
HSLhsl(266, 65%, 33%)
HSVhsv(266, 79%, 54%)
CMYKcmyk(44.5%, 78.8%, 0%, 46.3%)
CIE-LABlab(24.39, 44.43, -51.27)
CIE-LCHlch(24.39, 67.84, 310.91°)
OKLaboklab(36.83% 0.0755 -0.1468)
OKLCHoklch(36.83% 0.165 297.2)
XYZxyz(7.9340, 4.2212, 24.0588)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1D89 #5A891D
analogous
#1D2489 #4C1D89 #821D89
triadic
#4C1D89 #894C1D #1D894C
tetradic
#4C1D89 #891D24 #5A891D #1D8982
square
#4C1D89 #891D24 #5A891D #1D8982
split-complementary
#4C1D89 #89821D #24891D
monochromatic
#140824 #301256 #4C1D89 #6828BC #8748D8

Accessibility & contrast

On white

11.39
#4C1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4C1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1D89
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1D89#FFFFFF#000000##FFFFFF
##4C1D891.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#3C3A52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c1d89;
/* rgb */ color: rgb(76, 29, 137);
/* oklch */ color: oklch(36.8% 0.165 297.2);
Tailwind
colors: {
  custom: {
    50: '#855fac',
    500: '#4c1d89',
    950: '#000000',
  },
}
SCSS
$custom: #4c1d89;
$custom-light: #855fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1d89",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 266.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.16506,
    "h": 297.2
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#4C1D89
secondary
#88BA47
accent
#E8409F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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