#4C1A90#4C1A90

#4C1A90 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.176 H 295.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#4C1A90
RGBrgb(76, 26, 144)
HSLhsl(265, 69%, 33%)
HSVhsv(265, 82%, 56%)
CMYKcmyk(47.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(24.60, 47.55, -55.28)
CIE-LCHlch(24.60, 72.91, 310.70°)
OKLaboklab(37.18% 0.0757 -0.1585)
OKLCHoklch(37.18% 0.176 295.5)
XYZxyz(8.3826, 4.2887, 26.7663)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1A90 #5E901A
analogous
#1A2390 #4C1A90 #871A90
triadic
#4C1A90 #904C1A #1A904C
tetradic
#4C1A90 #901A23 #5E901A #1A9087
square
#4C1A90 #901A23 #5E901A #1A9087
split-complementary
#4C1A90 #90871A #23901A
monochromatic
#150728 #31115C #4C1A90 #6723C4 #8747DE

Accessibility & contrast

On white

11.30
#4C1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4C1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1A90
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1A90#FFFFFF#000000##FFFFFF
##4C1A901.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#383C56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c1a90;
/* rgb */ color: rgb(76, 26, 144);
/* oklch */ color: oklch(37.2% 0.176 295.5);
Tailwind
colors: {
  custom: {
    50: '#865eb2',
    500: '#4c1a90',
    950: '#000000',
  },
}
SCSS
$custom: #4c1a90;
$custom-light: #865eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1a90",
  "rgb": {
    "r": 76,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 265.424,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.17566,
    "h": 295.5
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#4C1A90
secondary
#8CBF47
accent
#EC3CA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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