#4A2192#4A2192

#4A2192 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 292.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4A2192
RGBrgb(74, 33, 146)
HSLhsl(262, 63%, 35%)
HSVhsv(262, 77%, 57%)
CMYKcmyk(49.3%, 77.4%, 0%, 42.7%)
CIE-LABlab(25.62, 44.68, -54.86)
CIE-LCHlch(25.62, 70.76, 309.16°)
OKLaboklab(37.89% 0.0664 -0.1574)
OKLCHoklch(37.89% 0.171 292.9)
XYZxyz(8.5548, 4.6186, 27.6293)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2192 #699221
analogous
#213192 #4A2192 #822192
triadic
#4A2192 #924A21 #21924A
tetradic
#4A2192 #922131 #699221 #219282
square
#4A2192 #922131 #699221 #219282
split-complementary
#4A2192 #928221 #319221
monochromatic
#170A2E #311660 #4A2192 #632CC4 #8555D9

Accessibility & contrast

On white

10.92
#4A2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4A2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2192
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2192#FFFFFF#000000##FFFFFF
##4A21921.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#334058
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2192;
/* rgb */ color: rgb(74, 33, 146);
/* oklch */ color: oklch(37.9% 0.171 292.9);
Tailwind
colors: {
  custom: {
    50: '#8461b3',
    500: '#4a2192',
    950: '#000000',
  },
}
SCSS
$custom: #4a2192;
$custom-light: #8461b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2192",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 261.77,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37893,
    "c": 0.17085,
    "h": 292.9
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#4A2192
secondary
#96BC53
accent
#E642AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A2192

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

Preview Lab → · Contrast checker → · Palette generator →

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