#4C1890#4C1890

#4C1890 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.177 H 295.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4C1890
RGBrgb(76, 24, 144)
HSLhsl(266, 71%, 33%)
HSVhsv(266, 83%, 56%)
CMYKcmyk(47.2%, 83.3%, 0%, 43.5%)
CIE-LABlab(24.33, 48.34, -55.73)
CIE-LCHlch(24.33, 73.77, 310.94°)
OKLaboklab(36.99% 0.0771 -0.1598)
OKLCHoklch(36.99% 0.177 295.8)
XYZxyz(8.3398, 4.2032, 26.7520)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1890 #5C9018
analogous
#182090 #4C1890 #881890
triadic
#4C1890 #904C18 #18904C
tetradic
#4C1890 #901820 #5C9018 #189088
square
#4C1890 #901820 #5C9018 #189088
split-complementary
#4C1890 #908818 #209018
monochromatic
#150727 #300F5C #4C1890 #6821C4 #8743E0

Accessibility & contrast

On white

11.41
#4C1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1890
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1890#FFFFFF#000000##FFFFFF
##4C18901.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1890;
/* rgb */ color: rgb(76, 24, 144);
/* oklch */ color: oklch(37.0% 0.177 295.8);
Tailwind
colors: {
  custom: {
    50: '#865db2',
    500: '#4c1890',
    950: '#000000',
  },
}
SCSS
$custom: #4c1890;
$custom-light: #865db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1890",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 266,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.17745,
    "h": 295.8
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#4C1890
secondary
#8AC043
accent
#EE3AA0
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1890

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

Preview Lab → · Contrast checker → · Palette generator →

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