#4C3992#4C3992

#4C3992 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.140 H 288.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4C3992
RGBrgb(76, 57, 146)
HSLhsl(253, 44%, 40%)
HSVhsv(253, 61%, 57%)
CMYKcmyk(47.9%, 61%, 0%, 42.7%)
CIE-LABlab(30.73, 31.67, -46.53)
CIE-LCHlch(30.73, 56.28, 304.25°)
OKLaboklab(41.61% 0.0448 -0.1329)
OKLCHoklch(41.61% 0.14 288.6)
XYZxyz(9.6304, 6.5377, 27.9430)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3992 #7F9239
analogous
#395392 #4C3992 #793992
triadic
#4C3992 #924C39 #39924C
tetradic
#4C3992 #923953 #7F9239 #399279
square
#4C3992 #923953 #7F9239 #399279
split-complementary
#4C3992 #927939 #539239
monochromatic
#1E173A #352866 #4C3992 #654EBA #8C7ACB

Accessibility & contrast

On white

9.10
#4C3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4C3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3992
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3992#FFFFFF#000000##FFFFFF
##4C39921.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#354D60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c3992;
/* rgb */ color: rgb(76, 57, 146);
/* oklch */ color: oklch(41.6% 0.140 288.6);
Tailwind
colors: {
  custom: {
    50: '#8470b3',
    500: '#4c3992',
    950: '#000000',
  },
}
SCSS
$custom: #4c3992;
$custom-light: #8470b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3992",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 252.809,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.14027,
    "h": 288.6
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#4C3992
secondary
#A6B472
accent
#D454B8
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4C3992

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

Preview Lab → · Contrast checker → · Palette generator →

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