#4C2995#4C2995

#4C2995 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.165 H 291.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4C2995
RGBrgb(76, 41, 149)
HSLhsl(259, 57%, 37%)
HSVhsv(259, 72%, 58%)
CMYKcmyk(49%, 72.5%, 0%, 41.6%)
CIE-LABlab(27.55, 41.83, -53.54)
CIE-LCHlch(27.55, 67.94, 308.00°)
OKLaboklab(39.39% 0.0615 -0.1535)
OKLCHoklch(39.39% 0.165 291.8)
XYZxyz(9.1967, 5.2920, 28.9648)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2995 #729529
analogous
#293C95 #4C2995 #822995
triadic
#4C2995 #954C29 #29954C
tetradic
#4C2995 #95293C #729529 #299582
square
#4C2995 #95293C #729529 #299582
split-complementary
#4C2995 #958229 #3C9529
monochromatic
#1B0F35 #341C65 #4C2995 #6436C5 #8864D4

Accessibility & contrast

On white

10.20
#4C2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2995
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2995#FFFFFF#000000##FFFFFF
##4C29951.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#35455C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2995;
/* rgb */ color: rgb(76, 41, 149);
/* oklch */ color: oklch(39.4% 0.165 291.8);
Tailwind
colors: {
  custom: {
    50: '#8566b5',
    500: '#4c2995',
    950: '#000000',
  },
}
SCSS
$custom: #4c2995;
$custom-light: #8566b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2995",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 259.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.16539,
    "h": 291.8
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#4C2995
secondary
#9DBA60
accent
#E048AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2995

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

Preview Lab → · Contrast checker → · Palette generator →

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