#4A2C99#4A2C99

#4A2C99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.167 H 289.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4A2C99
RGBrgb(74, 44, 153)
HSLhsl(257, 55%, 39%)
HSVhsv(257, 71%, 60%)
CMYKcmyk(51.6%, 71.2%, 0%, 40%)
CIE-LABlab(28.27, 41.02, -54.83)
CIE-LCHlch(28.27, 68.48, 306.80°)
OKLaboklab(39.96% 0.0549 -0.1574)
OKLCHoklch(39.96% 0.167 289.2)
XYZxyz(9.4728, 5.5567, 30.7042)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2C99 #7B992C
analogous
#2C4499 #4A2C99 #802C99
triadic
#4A2C99 #994A2C #2C994A
tetradic
#4A2C99 #992C44 #7B992C #2C9980
square
#4A2C99 #992C44 #7B992C #2C9980
split-complementary
#4A2C99 #99802C #44992C
monochromatic
#1C113A #331E69 #4A2C99 #623BC7 #886BD4

Accessibility & contrast

On white

9.95
#4A2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4A2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2C99
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2C99#FFFFFF#000000##FFFFFF
##4A2C991.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#2E485F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a2c99;
/* rgb */ color: rgb(74, 44, 153);
/* oklch */ color: oklch(40.0% 0.167 289.2);
Tailwind
colors: {
  custom: {
    50: '#8468b8',
    500: '#4a2c99',
    950: '#000000',
  },
}
SCSS
$custom: #4a2c99;
$custom-light: #8468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2c99",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 256.514,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.1667,
    "h": 289.2
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#4A2C99
secondary
#A4BB66
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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