#4C2192#4C2192

#4C2192 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.171 H 294.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4C2192
RGBrgb(76, 33, 146)
HSLhsl(263, 63%, 35%)
HSVhsv(263, 77%, 57%)
CMYKcmyk(47.9%, 77.4%, 0%, 42.7%)
CIE-LABlab(25.86, 45.00, -54.46)
CIE-LCHlch(25.86, 70.64, 309.57°)
OKLaboklab(38.12% 0.0695 -0.1562)
OKLCHoklch(38.12% 0.171 294)
XYZxyz(8.7112, 4.6993, 27.6366)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2192 #679221
analogous
#212F92 #4C2192 #842192
triadic
#4C2192 #924C21 #21924C
tetradic
#4C2192 #92212F #679221 #219284
square
#4C2192 #92212F #679221 #219284
split-complementary
#4C2192 #928421 #2F9221
monochromatic
#180A2E #321660 #4C2192 #662CC4 #8755D9

Accessibility & contrast

On white

10.82
#4C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4C2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2192
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2192#FFFFFF#000000##FFFFFF
##4C21921.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#374058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4c2192;
/* rgb */ color: rgb(76, 33, 146);
/* oklch */ color: oklch(38.1% 0.171 294.0);
Tailwind
colors: {
  custom: {
    50: '#8561b3',
    500: '#4c2192',
    950: '#000000',
  },
}
SCSS
$custom: #4c2192;
$custom-light: #8561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2192",
  "rgb": {
    "r": 76,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 262.832,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.17093,
    "h": 294
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#4C2192
secondary
#94BC53
accent
#E642A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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