#4C209D#4C209D

#4C209D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.184 H 291.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4C209D
RGBrgb(76, 32, 157)
HSLhsl(261, 66%, 37%)
HSVhsv(261, 80%, 62%)
CMYKcmyk(51.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(26.74, 48.46, -59.76)
CIE-LCHlch(26.74, 76.94, 309.04°)
OKLaboklab(39.05% 0.067 -0.1717)
OKLCHoklch(39.05% 0.184 291.3)
XYZxyz(9.5811, 5.0035, 32.3527)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C209D #719D20
analogous
#20329D #4C209D #8B209D
triadic
#4C209D #9D4C20 #209D4C
tetradic
#4C209D #9D2032 #719D20 #209D8B
square
#4C209D #9D2032 #719D20 #209D8B
split-complementary
#4C209D #9D8B20 #329D20
monochromatic
#1B0B37 #33166A #4C209D #652AD0 #885ADD

Accessibility & contrast

On white

10.50
#4C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C209D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C209D#FFFFFF#000000##FFFFFF
##4C209D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#30445E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c209d;
/* rgb */ color: rgb(76, 32, 157);
/* oklch */ color: oklch(39.1% 0.184 291.3);
Tailwind
colors: {
  custom: {
    50: '#8761bb',
    500: '#4c209d',
    950: '#000000',
  },
}
SCSS
$custom: #4c209d;
$custom-light: #8761bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c209d",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 261.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.18431,
    "h": 291.3
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#4C209D
secondary
#9CC157
accent
#E93FAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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