#4A2199#4A2199

#4A2199 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.179 H 291.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4A2199
RGBrgb(74, 33, 153)
HSLhsl(261, 65%, 36%)
HSVhsv(261, 78%, 60%)
CMYKcmyk(51.6%, 78.4%, 0%, 40%)
CIE-LABlab(26.28, 46.62, -58.08)
CIE-LCHlch(26.28, 74.48, 308.75°)
OKLaboklab(38.56% 0.0643 -0.1669)
OKLCHoklch(38.56% 0.179 291.1)
XYZxyz(9.1160, 4.8431, 30.5853)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2199 #709921
analogous
#213499 #4A2199 #862199
triadic
#4A2199 #994A21 #21994A
tetradic
#4A2199 #992134 #709921 #219986
square
#4A2199 #992134 #709921 #219986
split-complementary
#4A2199 #998621 #349921
monochromatic
#190B34 #321667 #4A2199 #622CCB #8659DB

Accessibility & contrast

On white

10.67
#4A2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2199
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2199#FFFFFF#000000##FFFFFF
##4A21991.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#2E435C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2199;
/* rgb */ color: rgb(74, 33, 153);
/* oklch */ color: oklch(38.6% 0.179 291.1);
Tailwind
colors: {
  custom: {
    50: '#8561b8',
    500: '#4a2199',
    950: '#000000',
  },
}
SCSS
$custom: #4a2199;
$custom-light: #8561b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2199",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 260.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.17883,
    "h": 291.1
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#4A2199
secondary
#9CBF56
accent
#E840AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2199

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

Preview Lab → · Contrast checker → · Palette generator →

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