#4C2999#4C2999

#4C2999 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.170 H 290.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4C2999
RGBrgb(76, 41, 153)
HSLhsl(259, 58%, 38%)
HSVhsv(259, 73%, 60%)
CMYKcmyk(50.3%, 73.2%, 0%, 40%)
CIE-LABlab(27.90, 42.97, -55.41)
CIE-LCHlch(27.90, 70.12, 307.79°)
OKLaboklab(39.75% 0.0606 -0.159)
OKLCHoklch(39.75% 0.17 290.9)
XYZxyz(9.5216, 5.4219, 30.6757)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2999 #769929
analogous
#293E99 #4C2999 #842999
triadic
#4C2999 #994C29 #29994C
tetradic
#4C2999 #99293E #769929 #299984
square
#4C2999 #99293E #769929 #299984
split-complementary
#4C2999 #998429 #3E9929
monochromatic
#1C0F38 #341C69 #4C2999 #6436C9 #8966D6

Accessibility & contrast

On white

10.07
#4C2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2999
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2999#FFFFFF#000000##FFFFFF
##4C29991.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#32465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c2999;
/* rgb */ color: rgb(76, 41, 153);
/* oklch */ color: oklch(39.8% 0.170 290.9);
Tailwind
colors: {
  custom: {
    50: '#8666b8',
    500: '#4c2999',
    950: '#000000',
  },
}
SCSS
$custom: #4c2999;
$custom-light: #8666b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2999",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 258.75,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.1702,
    "h": 290.9
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#4C2999
secondary
#A0BC62
accent
#E147B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2999

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

Preview Lab → · Contrast checker → · Palette generator →

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