#4C2890#4C2890

#4C2890 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.161 H 293.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4C2890
RGBrgb(76, 40, 144)
HSLhsl(261, 57%, 36%)
HSVhsv(261, 72%, 56%)
CMYKcmyk(47.2%, 72.2%, 0%, 43.5%)
CIE-LABlab(26.93, 40.93, -51.48)
CIE-LCHlch(26.93, 65.77, 308.49°)
OKLaboklab(38.81% 0.0635 -0.1475)
OKLCHoklch(38.81% 0.161 293.3)
XYZxyz(8.7719, 5.0674, 26.8961)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2890 #6C9028
analogous
#283890 #4C2890 #802890
triadic
#4C2890 #904C28 #28904C
tetradic
#4C2890 #902838 #6C9028 #289080
square
#4C2890 #902838 #6C9028 #289080
split-complementary
#4C2890 #908028 #389028
monochromatic
#190D30 #331B60 #4C2890 #6535C0 #8760D3

Accessibility & contrast

On white

10.43
#4C2890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4C2890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2890
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2890#FFFFFF#000000##FFFFFF
##4C28901.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#384259
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2890;
/* rgb */ color: rgb(76, 40, 144);
/* oklch */ color: oklch(38.8% 0.161 293.3);
Tailwind
colors: {
  custom: {
    50: '#8565b1',
    500: '#4c2890',
    950: '#000000',
  },
}
SCSS
$custom: #4c2890;
$custom-light: #8565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2890",
  "rgb": {
    "r": 76,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 260.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.16057,
    "h": 293.3
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#4C2890
secondary
#98B85C
accent
#E048AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2890

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

Preview Lab → · Contrast checker → · Palette generator →

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