#4C208D#4C208D

#4C208D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.166 H 295.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4C208D
RGBrgb(76, 32, 141)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 77%, 55%)
CMYKcmyk(46.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(25.24, 44.11, -52.38)
CIE-LCHlch(25.24, 68.48, 310.10°)
OKLaboklab(37.54% 0.0717 -0.1501)
OKLCHoklch(37.54% 0.166 295.5)
XYZxyz(8.3034, 4.4924, 25.6238)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C208D #618D20
analogous
#202B8D #4C208D #83208D
triadic
#4C208D #8D4C20 #208D4C
tetradic
#4C208D #8D202B #618D20 #208D83
square
#4C208D #8D202B #618D20 #208D83
split-complementary
#4C208D #8D8320 #2B8D20
monochromatic
#160929 #31155B #4C208D #672BBF #8750D7

Accessibility & contrast

On white

11.06
#4C208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4C208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C208D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C208D#FFFFFF#000000##FFFFFF
##4C208D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#3A3D55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c208d;
/* rgb */ color: rgb(76, 32, 141);
/* oklch */ color: oklch(37.5% 0.166 295.5);
Tailwind
colors: {
  custom: {
    50: '#8560af',
    500: '#4c208d',
    950: '#000000',
  },
}
SCSS
$custom: #4c208d;
$custom-light: #8560af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c208d",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 264.22,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.16633,
    "h": 295.5
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#4C208D
secondary
#8FBA4E
accent
#E642A4
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C208D

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

Preview Lab → · Contrast checker → · Palette generator →

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