#4C2B91#4C2B91

#4C2B91 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.158 H 292.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4C2B91
RGBrgb(76, 43, 145)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 70%, 57%)
CMYKcmyk(47.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(27.60, 39.59, -51.00)
CIE-LCHlch(27.60, 64.57, 307.82°)
OKLaboklab(39.32% 0.0603 -0.1461)
OKLCHoklch(39.32% 0.158 292.4)
XYZxyz(8.9538, 5.3083, 27.3354)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B91 #70912B
analogous
#2B3D91 #4C2B91 #7F2B91
triadic
#4C2B91 #914C2B #2B914C
tetradic
#4C2B91 #912B3D #70912B #2B917F
square
#4C2B91 #912B3D #70912B #2B917F
split-complementary
#4C2B91 #917F2B #3D912B
monochromatic
#1B0F33 #331D62 #4C2B91 #6539C0 #8865D1

Accessibility & contrast

On white

10.19
#4C2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B91
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B91#FFFFFF#000000##FFFFFF
##4C2B911.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#37445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2b91;
/* rgb */ color: rgb(76, 43, 145);
/* oklch */ color: oklch(39.3% 0.158 292.4);
Tailwind
colors: {
  custom: {
    50: '#8567b2',
    500: '#4c2b91',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b91;
$custom-light: #8567b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b91",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 259.412,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.15805,
    "h": 292.4
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4C2B91
secondary
#9BB860
accent
#DE4AAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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