#4C209B#4C209B

#4C209B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.182 H 291.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4C209B
RGBrgb(76, 32, 155)
HSLhsl(261, 66%, 37%)
HSVhsv(261, 79%, 61%)
CMYKcmyk(51%, 79.4%, 0%, 39.2%)
CIE-LABlab(26.55, 47.91, -58.86)
CIE-LCHlch(26.55, 75.89, 309.15°)
OKLaboklab(38.86% 0.0676 -0.1691)
OKLCHoklch(38.86% 0.182 291.8)
XYZxyz(9.4117, 4.9357, 31.4608)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C209B #6F9B20
analogous
#20329B #4C209B #8A209B
triadic
#4C209B #9B4C20 #209B4C
tetradic
#4C209B #9B2032 #6F9B20 #209B8A
square
#4C209B #9B2032 #6F9B20 #209B8A
split-complementary
#4C209B #9B8A20 #329B20
monochromatic
#1A0B36 #331668 #4C209B #652ACE #8859DD

Accessibility & contrast

On white

10.57
#4C209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4C209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C209B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C209B#FFFFFF#000000##FFFFFF
##4C209B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#31435D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c209b;
/* rgb */ color: rgb(76, 32, 155);
/* oklch */ color: oklch(38.9% 0.182 291.8);
Tailwind
colors: {
  custom: {
    50: '#8761ba',
    500: '#4c209b',
    950: '#000000',
  },
}
SCSS
$custom: #4c209b;
$custom-light: #8761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4c209b",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 261.463,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38859,
    "c": 0.18209,
    "h": 291.8
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#4C209B
secondary
#9BC156
accent
#E93FAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4C209B

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

Preview Lab → · Contrast checker → · Palette generator →

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