#4A1573#4A1573

#4A1573 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.149 H 305.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4A1573
RGBrgb(74, 21, 115)
HSLhsl(274, 69%, 27%)
HSVhsv(274, 82%, 45%)
CMYKcmyk(35.7%, 81.7%, 0%, 54.9%)
CIE-LABlab(20.94, 41.89, -42.96)
CIE-LCHlch(20.94, 60.00, 314.27°)
OKLaboklab(33.75% 0.0856 -0.1224)
OKLCHoklch(33.75% 0.149 305)
XYZxyz(6.1860, 3.2300, 16.5139)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1573 #3E7315
analogous
#1B1573 #4A1573 #73156D
triadic
#4A1573 #734A15 #15734A
tetradic
#4A1573 #731B15 #3E7315 #156D73
square
#4A1573 #731B15 #3E7315 #156D73
split-complementary
#4A1573 #6D7315 #15731B
monochromatic
#11051A #290C3F #4A1573 #6B1EA7 #8C2AD8

Accessibility & contrast

On white

12.76
#4A1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4A1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1573
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1573#FFFFFF#000000##FFFFFF
##4A15731.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#422E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1573;
/* rgb */ color: rgb(74, 21, 115);
/* oklch */ color: oklch(33.8% 0.149 305.0);
Tailwind
colors: {
  custom: {
    50: '#81599c',
    500: '#4a1573',
    950: '#000000',
  },
}
SCSS
$custom: #4a1573;
$custom-light: #81599c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1573",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 273.83,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.14938,
    "h": 305
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#4A1573
secondary
#6BA93B
accent
#EC3C89
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1573

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

Preview Lab → · Contrast checker → · Palette generator →

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