#4C1390#4C1390

#4C1390 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.181 H 296.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4C1390
RGBrgb(76, 19, 144)
HSLhsl(267, 77%, 32%)
HSVhsv(267, 87%, 56%)
CMYKcmyk(47.2%, 86.8%, 0%, 43.5%)
CIE-LABlab(23.72, 50.13, -56.73)
CIE-LCHlch(23.72, 75.70, 311.46°)
OKLaboklab(36.58% 0.0804 -0.1627)
OKLCHoklch(36.58% 0.181 296.3)
XYZxyz(8.2461, 4.0157, 26.7208)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1390 #579013
analogous
#131990 #4C1390 #8B1390
triadic
#4C1390 #904C13 #13904C
tetradic
#4C1390 #901319 #579013 #13908B
square
#4C1390 #901319 #579013 #13908B
split-complementary
#4C1390 #908B13 #199013
monochromatic
#130524 #2F0C5A #4C1390 #691AC6 #8739E5

Accessibility & contrast

On white

11.65
#4C1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4C1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1390
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1390#FFFFFF#000000##FFFFFF
##4C13901.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#393954
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4c1390;
/* rgb */ color: rgb(76, 19, 144);
/* oklch */ color: oklch(36.6% 0.181 296.3);
Tailwind
colors: {
  custom: {
    50: '#865bb2',
    500: '#4c1390',
    950: '#000000',
  },
}
SCSS
$custom: #4c1390;
$custom-light: #865bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1390",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 267.36,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.18145,
    "h": 296.3
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#4C1390
secondary
#85C43B
accent
#F3359C
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4C1390

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

Preview Lab → · Contrast checker → · Palette generator →

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