#4C2194#4C2194

#4C2194 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.173 H 293.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4C2194
RGBrgb(76, 33, 148)
HSLhsl(262, 64%, 35%)
HSVhsv(262, 78%, 58%)
CMYKcmyk(48.6%, 77.7%, 0%, 42%)
CIE-LABlab(26.05, 45.55, -55.39)
CIE-LCHlch(26.05, 71.71, 309.43°)
OKLaboklab(38.3% 0.0689 -0.1589)
OKLCHoklch(38.3% 0.173 293.4)
XYZxyz(8.8682, 4.7620, 28.4631)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2194 #699421
analogous
#212F94 #4C2194 #852194
triadic
#4C2194 #944C21 #21944C
tetradic
#4C2194 #94212F #699421 #219485
square
#4C2194 #94212F #699421 #219485
split-complementary
#4C2194 #948521 #2F9421
monochromatic
#190B30 #321662 #4C2194 #662CC6 #8756D9

Accessibility & contrast

On white

10.76
#4C2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4C2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2194
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2194#FFFFFF#000000##FFFFFF
##4C21941.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#364159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2194;
/* rgb */ color: rgb(76, 33, 148);
/* oklch */ color: oklch(38.3% 0.173 293.4);
Tailwind
colors: {
  custom: {
    50: '#8661b4',
    500: '#4c2194',
    950: '#000000',
  },
}
SCSS
$custom: #4c2194;
$custom-light: #8661b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2194",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 262.435,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.1732,
    "h": 293.4
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#4C2194
secondary
#96BD54
accent
#E741A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2194

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

Preview Lab → · Contrast checker → · Palette generator →

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