#4C2190#4C2190

#4C2190 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 294.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4C2190
RGBrgb(76, 33, 144)
HSLhsl(263, 63%, 35%)
HSVhsv(263, 77%, 56%)
CMYKcmyk(47.2%, 77.1%, 0%, 43.5%)
CIE-LABlab(25.68, 44.46, -53.52)
CIE-LCHlch(25.68, 69.58, 309.71°)
OKLaboklab(37.93% 0.07 -0.1534)
OKLCHoklch(37.93% 0.169 294.5)
XYZxyz(8.5570, 4.6376, 26.8244)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2190 #659021
analogous
#212E90 #4C2190 #842190
triadic
#4C2190 #904C21 #21904C
tetradic
#4C2190 #90212E #659021 #219084
square
#4C2190 #90212E #659021 #219084
split-complementary
#4C2190 #908421 #2E9021
monochromatic
#170A2C #32165E #4C2190 #662CC2 #8754D8

Accessibility & contrast

On white

10.89
#4C2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4C2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2190
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2190#FFFFFF#000000##FFFFFF
##4C21901.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#383F57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2190;
/* rgb */ color: rgb(76, 33, 144);
/* oklch */ color: oklch(37.9% 0.169 294.5);
Tailwind
colors: {
  custom: {
    50: '#8561b1',
    500: '#4c2190',
    950: '#000000',
  },
}
SCSS
$custom: #4c2190;
$custom-light: #8561b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2190",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 263.243,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.16866,
    "h": 294.5
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#4C2190
secondary
#92BB51
accent
#E642A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2190

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

Preview Lab → · Contrast checker → · Palette generator →

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