#4C2B95#4C2B95

#4C2B95 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.163 H 291.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4C2B95
RGBrgb(76, 43, 149)
HSLhsl(259, 55%, 38%)
HSVhsv(259, 71%, 58%)
CMYKcmyk(49%, 71.1%, 0%, 41.6%)
CIE-LABlab(27.94, 40.75, -52.91)
CIE-LCHlch(27.94, 66.78, 307.60°)
OKLaboklab(39.67% 0.0596 -0.1517)
OKLCHoklch(39.67% 0.163 291.4)
XYZxyz(9.2677, 5.4338, 28.9885)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B95 #74952B
analogous
#2B3F95 #4C2B95 #812B95
triadic
#4C2B95 #954C2B #2B954C
tetradic
#4C2B95 #952B3F #74952B #2B9581
square
#4C2B95 #952B3F #74952B #2B9581
split-complementary
#4C2B95 #95812B #3F952B
monochromatic
#1C1036 #341D66 #4C2B95 #6439C4 #8967D3

Accessibility & contrast

On white

10.06
#4C2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2B95
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B95#FFFFFF#000000##FFFFFF
##4C2B951.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#35465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2b95;
/* rgb */ color: rgb(76, 43, 149);
/* oklch */ color: oklch(39.7% 0.163 291.4);
Tailwind
colors: {
  custom: {
    50: '#8567b5',
    500: '#4c2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b95;
$custom-light: #8567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b95",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 258.679,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.16297,
    "h": 291.4
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#4C2B95
secondary
#9EBA62
accent
#DF49B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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