#4C2392#4C2392

#4C2392 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.169 H 293.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4C2392
RGBrgb(76, 35, 146)
HSLhsl(262, 61%, 35%)
HSVhsv(262, 76%, 57%)
CMYKcmyk(47.9%, 76%, 0%, 42.7%)
CIE-LABlab(26.20, 44.04, -53.91)
CIE-LCHlch(26.20, 69.61, 309.25°)
OKLaboklab(38.35% 0.0677 -0.1546)
OKLCHoklch(38.35% 0.169 293.7)
XYZxyz(8.7684, 4.8136, 27.6557)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2392 #699223
analogous
#233292 #4C2392 #832392
triadic
#4C2392 #924C23 #23924C
tetradic
#4C2392 #922332 #699223 #239283
square
#4C2392 #922332 #699223 #239283
split-complementary
#4C2392 #928323 #329223
monochromatic
#190B2F #321761 #4C2392 #662FC3 #8758D7

Accessibility & contrast

On white

10.70
#4C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4C2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2392
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2392#FFFFFF#000000##FFFFFF
##4C23921.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#374159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2392;
/* rgb */ color: rgb(76, 35, 146);
/* oklch */ color: oklch(38.4% 0.169 293.7);
Tailwind
colors: {
  custom: {
    50: '#8562b3',
    500: '#4c2392',
    950: '#000000',
  },
}
SCSS
$custom: #4c2392;
$custom-light: #8562b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2392",
  "rgb": {
    "r": 76,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 262.162,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.16876,
    "h": 293.7
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#4C2392
secondary
#96BB55
accent
#E443A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2392

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

Preview Lab → · Contrast checker → · Palette generator →

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