#4C208A#4C208A

#4C208A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.163 H 296.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4C208A
RGBrgb(76, 32, 138)
HSLhsl(265, 62%, 33%)
HSVhsv(265, 77%, 54%)
CMYKcmyk(44.9%, 76.8%, 0%, 45.9%)
CIE-LABlab(24.97, 43.30, -50.96)
CIE-LCHlch(24.97, 66.87, 310.36°)
OKLaboklab(37.26% 0.0725 -0.1459)
OKLCHoklch(37.26% 0.163 296.4)
XYZxyz(8.0832, 4.4043, 24.4641)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C208A #5E8A20
analogous
#20298A #4C208A #81208A
triadic
#4C208A #8A4C20 #208A4C
tetradic
#4C208A #8A2029 #5E8A20 #208A81
square
#4C208A #8A2029 #5E8A20 #208A81
split-complementary
#4C208A #8A8120 #298A20
monochromatic
#150927 #311458 #4C208A #672CBC #874ED6

Accessibility & contrast

On white

11.16
#4C208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C208A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C208A#FFFFFF#000000##FFFFFF
##4C208A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#3B3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c208a;
/* rgb */ color: rgb(76, 32, 138);
/* oklch */ color: oklch(37.3% 0.163 296.4);
Tailwind
colors: {
  custom: {
    50: '#8460ad',
    500: '#4c208a',
    950: '#000000',
  },
}
SCSS
$custom: #4c208a;
$custom-light: #8460ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4c208a",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 264.906,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37264,
    "c": 0.16292,
    "h": 296.4
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#4C208A
secondary
#8CB94D
accent
#E542A2
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C208A

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

Preview Lab → · Contrast checker → · Palette generator →

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