#4C2B96#4C2B96

#4C2B96 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.164 H 291.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4C2B96
RGBrgb(76, 43, 150)
HSLhsl(259, 55%, 38%)
HSVhsv(259, 71%, 59%)
CMYKcmyk(49.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(28.02, 41.04, -53.38)
CIE-LCHlch(28.02, 67.34, 307.55°)
OKLaboklab(39.76% 0.0594 -0.1531)
OKLCHoklch(39.76% 0.164 291.2)
XYZxyz(9.3478, 5.4659, 29.4107)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B96 #75962B
analogous
#2B3F96 #4C2B96 #812B96
triadic
#4C2B96 #964C2B #2B964C
tetradic
#4C2B96 #962B3F #75962B #2B9681
square
#4C2B96 #962B3F #75962B #2B9681
split-complementary
#4C2B96 #96812B #3F962B
monochromatic
#1C1037 #341D66 #4C2B96 #6439C6 #8968D4

Accessibility & contrast

On white

10.03
#4C2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B96
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B96#FFFFFF#000000##FFFFFF
##4C2B961.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#34465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2b96;
/* rgb */ color: rgb(76, 43, 150);
/* oklch */ color: oklch(39.8% 0.164 291.2);
Tailwind
colors: {
  custom: {
    50: '#8567b6',
    500: '#4c2b96',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b96;
$custom-light: #8567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b96",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 258.505,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39756,
    "c": 0.16419,
    "h": 291.2
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#4C2B96
secondary
#9FBA63
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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