#4A1560#4A1560

#4A1560 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.130 H 313.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1560
RGBrgb(74, 21, 96)
HSLhsl(282, 64%, 23%)
HSVhsv(282, 78%, 38%)
CMYKcmyk(22.9%, 78.1%, 0%, 62.4%)
CIE-LABlab(19.38, 37.36, -33.09)
CIE-LCHlch(19.38, 49.91, 318.46°)
OKLaboklab(32.16% 0.0897 -0.0934)
OKLCHoklch(32.16% 0.13 313.9)
XYZxyz(5.2032, 2.8369, 11.3375)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1560 #2B6015
analogous
#241560 #4A1560 #601550
triadic
#4A1560 #604A15 #15604A
tetradic
#4A1560 #602415 #2B6015 #155060
square
#4A1560 #602415 #2B6015 #155060
split-complementary
#4A1560 #506015 #156024
monochromatic
#130519 #230A2E #4A1560 #712092 #972BC4

Accessibility & contrast

On white

13.40
#4A1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1560
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1560#FFFFFF#000000##FFFFFF
##4A15601.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#482539
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a1560;
/* rgb */ color: rgb(74, 21, 96);
/* oklch */ color: oklch(32.2% 0.130 313.9);
Tailwind
colors: {
  custom: {
    50: '#80588e',
    500: '#4a1560',
    950: '#000000',
  },
}
SCSS
$custom: #4a1560;
$custom-light: #80588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1560",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 282.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32158,
    "c": 0.12953,
    "h": 313.9
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#4A1560
secondary
#55973A
accent
#E74172
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A1560

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

Preview Lab → · Contrast checker → · Palette generator →

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