#4C2B97#4C2B97

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

Color values

HEX#4C2B97
RGBrgb(76, 43, 151)
HSLhsl(258, 56%, 38%)
HSVhsv(258, 72%, 59%)
CMYKcmyk(49.7%, 71.5%, 0%, 40.8%)
CIE-LABlab(28.11, 41.33, -53.85)
CIE-LCHlch(28.11, 67.89, 307.51°)
OKLaboklab(39.85% 0.0592 -0.1545)
OKLCHoklch(39.85% 0.165 291)
XYZxyz(9.4287, 5.4983, 29.8366)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2B97 #76972B
analogous
#2B4097 #4C2B97 #822B97
triadic
#4C2B97 #974C2B #2B974C
tetradic
#4C2B97 #972B40 #76972B #2B9782
square
#4C2B97 #972B40 #76972B #2B9782
split-complementary
#4C2B97 #97822B #40972B
monochromatic
#1C1038 #341D67 #4C2B97 #6439C7 #8968D4

Accessibility & contrast

On white

10.00
#4C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2B97
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2B97#FFFFFF#000000##FFFFFF
##4C2B971.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#33475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2b97;
/* rgb */ color: rgb(76, 43, 151);
/* oklch */ color: oklch(39.8% 0.165 291.0);
Tailwind
colors: {
  custom: {
    50: '#8567b6',
    500: '#4c2b97',
    950: '#000000',
  },
}
SCSS
$custom: #4c2b97;
$custom-light: #8567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2b97",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 258.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.16541,
    "h": 291
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#4C2B97
secondary
#A0BB63
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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