#4C1A89#4C1A89

#4C1A89 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.168 H 297.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4C1A89
RGBrgb(76, 26, 137)
HSLhsl(267, 68%, 32%)
HSVhsv(267, 81%, 54%)
CMYKcmyk(44.5%, 81%, 0%, 46.3%)
CIE-LABlab(23.94, 45.73, -52.01)
CIE-LCHlch(23.94, 69.26, 311.32°)
OKLaboklab(36.52% 0.078 -0.1489)
OKLCHoklch(36.52% 0.168 297.6)
XYZxyz(7.8641, 4.0813, 24.0355)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1A89 #57891A
analogous
#1A2089 #4C1A89 #841A89
triadic
#4C1A89 #894C1A #1A894C
tetradic
#4C1A89 #891A20 #57891A #1A8984
square
#4C1A89 #891A20 #57891A #1A8984
split-complementary
#4C1A89 #89841A #20891A
monochromatic
#130622 #2F1056 #4C1A89 #6924BC #8742DB

Accessibility & contrast

On white

11.56
#4C1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4C1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1A89
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1A89#FFFFFF#000000##FFFFFF
##4C1A891.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#3C3952
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c1a89;
/* rgb */ color: rgb(76, 26, 137);
/* oklch */ color: oklch(36.5% 0.168 297.6);
Tailwind
colors: {
  custom: {
    50: '#855dac',
    500: '#4c1a89',
    950: '#000000',
  },
}
SCSS
$custom: #4c1a89;
$custom-light: #855dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1a89",
  "rgb": {
    "r": 76,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 267.027,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.16812,
    "h": 297.6
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#4C1A89
secondary
#85BC43
accent
#EB3D9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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