#4A2196#4A2196

#4A2196 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 291.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4A2196
RGBrgb(74, 33, 150)
HSLhsl(261, 64%, 36%)
HSVhsv(261, 78%, 59%)
CMYKcmyk(50.7%, 78%, 0%, 41.2%)
CIE-LABlab(26.00, 45.79, -56.71)
CIE-LCHlch(26.00, 72.89, 308.92°)
OKLaboklab(38.27% 0.0652 -0.1628)
OKLCHoklch(38.27% 0.175 291.8)
XYZxyz(8.8714, 4.7452, 29.2967)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2196 #6D9621
analogous
#213296 #4A2196 #842196
triadic
#4A2196 #964A21 #21964A
tetradic
#4A2196 #962132 #6D9621 #219684
square
#4A2196 #962132 #6D9621 #219684
split-complementary
#4A2196 #968421 #329621
monochromatic
#190B32 #311664 #4A2196 #632CC8 #8557DA

Accessibility & contrast

On white

10.77
#4A2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4A2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2196
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2196#FFFFFF#000000##FFFFFF
##4A21961.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#31425B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2196;
/* rgb */ color: rgb(74, 33, 150);
/* oklch */ color: oklch(38.3% 0.175 291.8);
Tailwind
colors: {
  custom: {
    50: '#8561b6',
    500: '#4a2196',
    950: '#000000',
  },
}
SCSS
$custom: #4a2196;
$custom-light: #8561b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2196",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 261.026,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.17543,
    "h": 291.8
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#4A2196
secondary
#99BE55
accent
#E741AD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2196

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

Preview Lab → · Contrast checker → · Palette generator →

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