#4C3372#4C3372

#4C3372 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.105 H 299.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4C3372
RGBrgb(76, 51, 114)
HSLhsl(264, 38%, 32%)
HSVhsv(264, 55%, 45%)
CMYKcmyk(33.3%, 55.3%, 0%, 55.3%)
CIE-LABlab(27.07, 25.92, -32.42)
CIE-LCHlch(27.07, 41.51, 308.64°)
OKLaboklab(38.21% 0.0523 -0.0915)
OKLCHoklch(38.21% 0.105 299.7)
XYZxyz(7.2009, 5.1190, 16.5250)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3372 #597233
analogous
#333972 #4C3372 #6C3372
triadic
#4C3372 #724C33 #33724C
tetradic
#4C3372 #723339 #597233 #33726C
square
#4C3372 #723339 #597233 #33726C
split-complementary
#4C3372 #726C33 #397233
monochromatic
#140D1D #302048 #4C3372 #68469C #8765BA

Accessibility & contrast

On white

10.38
#4C3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4C3372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3372
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3372#FFFFFF#000000##FFFFFF
##4C33721.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#233F71
Tritanopia (blue-blind)
#443F4D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c3372;
/* rgb */ color: rgb(76, 51, 114);
/* oklch */ color: oklch(38.2% 0.105 299.7);
Tailwind
colors: {
  custom: {
    50: '#806b9b',
    500: '#4c3372',
    950: '#000000',
  },
}
SCSS
$custom: #4c3372;
$custom-light: #806b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3372",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 263.81,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.10538,
    "h": 299.7
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#4C3372
secondary
#87A25F
accent
#CE5AA0
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4C3372

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

Preview Lab → · Contrast checker → · Palette generator →

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