#4C2BBD#4C2BBD

#4C2BBD is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.210 H 283.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4C2BBD
RGBrgb(76, 43, 189)
HSLhsl(254, 63%, 45%)
HSVhsv(254, 77%, 74%)
CMYKcmyk(59.8%, 77.2%, 0%, 25.9%)
CIE-LABlab(31.66, 52.34, -70.86)
CIE-LCHlch(31.66, 88.10, 306.45°)
OKLaboklab(43.43% 0.0499 -0.2043)
OKLCHoklch(43.43% 0.21 283.7)
XYZxyz(13.0268, 6.9375, 48.7869)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2BBD #9CBD2B
analogous
#2B53BD #4C2BBD #952BBD
triadic
#4C2BBD #BD4C2B #2BBD4C
tetradic
#4C2BBD #BD2B53 #9CBD2B #2BBD95
square
#4C2BBD #BD2B53 #9CBD2B #2BBD95
split-complementary
#4C2BBD #BD952B #53BD2B
monochromatic
#241459 #38208B #4C2BBD #6D4ED7 #9680E2

Accessibility & contrast

On white

8.80
#4C2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4C2BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2BBD
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2BBD#FFFFFF#000000##FFFFFF
##4C2BBD1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c2bbd;
/* rgb */ color: rgb(76, 43, 189);
/* oklch */ color: oklch(43.4% 0.210 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c69d2',
    500: '#4c2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c2bbd;
$custom-light: #8c69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2bbd",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 253.562,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.21026,
    "h": 283.7
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#4C2BBD
secondary
#B8CB79
accent
#E642C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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