#4A1563#4A1563

#4A1563 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.133 H 312.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4A1563
RGBrgb(74, 21, 99)
HSLhsl(281, 65%, 24%)
HSVhsv(281, 79%, 39%)
CMYKcmyk(25.3%, 78.8%, 0%, 61.2%)
CIE-LABlab(19.61, 38.05, -34.70)
CIE-LCHlch(19.61, 51.50, 317.64°)
OKLaboklab(32.4% 0.0893 -0.0981)
OKLCHoklch(32.4% 0.133 312.3)
XYZxyz(5.3439, 2.8932, 12.0789)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1563 #2E6315
analogous
#231563 #4A1563 #631555
triadic
#4A1563 #634A15 #15634A
tetradic
#4A1563 #632315 #2E6315 #155563
square
#4A1563 #632315 #2E6315 #155563
split-complementary
#4A1563 #556315 #156323
monochromatic
#130519 #240A31 #4A1563 #702095 #952AC8

Accessibility & contrast

On white

13.30
#4A1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1563
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1563#FFFFFF#000000##FFFFFF
##4A15631.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#0A3161
Tritanopia (blue-blind)
#47273B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1563;
/* rgb */ color: rgb(74, 21, 99);
/* oklch */ color: oklch(32.4% 0.133 312.3);
Tailwind
colors: {
  custom: {
    50: '#805990',
    500: '#4a1563',
    950: '#000000',
  },
}
SCSS
$custom: #4a1563;
$custom-light: #805990;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1563",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 280.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.13265,
    "h": 312.3
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#4A1563
secondary
#599A3A
accent
#E84076
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1563

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

Preview Lab → · Contrast checker → · Palette generator →

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