#4C208C#4C208C

#4C208C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.165 H 295.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4C208C
RGBrgb(76, 32, 140)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 77%, 55%)
CMYKcmyk(45.7%, 77.1%, 0%, 45.1%)
CIE-LABlab(25.15, 43.84, -51.91)
CIE-LCHlch(25.15, 67.95, 310.19°)
OKLaboklab(37.45% 0.072 -0.1487)
OKLCHoklch(37.45% 0.165 295.8)
XYZxyz(8.2294, 4.4628, 25.2337)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C208C #608C20
analogous
#202A8C #4C208C #82208C
triadic
#4C208C #8C4C20 #208C4C
tetradic
#4C208C #8C202A #608C20 #208C82
square
#4C208C #8C202A #608C20 #208C82
split-complementary
#4C208C #8C8220 #2A8C20
monochromatic
#160928 #31155A #4C208C #672BBE #8750D7

Accessibility & contrast

On white

11.10
#4C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4C208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C208C
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C208C#FFFFFF#000000##FFFFFF
##4C208C1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c208c;
/* rgb */ color: rgb(76, 32, 140);
/* oklch */ color: oklch(37.4% 0.165 295.8);
Tailwind
colors: {
  custom: {
    50: '#8560af',
    500: '#4c208c',
    950: '#000000',
  },
}
SCSS
$custom: #4c208c;
$custom-light: #8560af;
$custom-dark: #000000;
JSON
{
  "hex": "#4c208c",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 264.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.1652,
    "h": 295.8
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#4C208C
secondary
#8EBA4E
accent
#E642A3
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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