#4B1561#4B1561

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

Color values

HEX#4B1561
RGBrgb(75, 21, 97)
HSLhsl(283, 64%, 23%)
HSVhsv(283, 78%, 38%)
CMYKcmyk(22.7%, 78.4%, 0%, 62%)
CIE-LABlab(19.62, 37.81, -33.36)
CIE-LCHlch(19.62, 50.42, 318.58°)
OKLaboklab(32.39% 0.091 -0.0941)
OKLCHoklch(32.39% 0.131 314)
XYZxyz(5.3271, 2.8954, 11.5852)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1561 #2B6115
analogous
#251561 #4B1561 #611551
triadic
#4B1561 #614B15 #15614B
tetradic
#4B1561 #612515 #2B6115 #155161
square
#4B1561 #612515 #2B6115 #155161
split-complementary
#4B1561 #516115 #156125
monochromatic
#130519 #240A2F #4B1561 #722093 #992BC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1561#FFFFFF#000000##FFFFFF
##4B15611.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)
#002D63
Deuteranopia (green-blind)
#10315F
Tritanopia (blue-blind)
#49263A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1561;
/* rgb */ color: rgb(75, 21, 97);
/* oklch */ color: oklch(32.4% 0.131 314.0);
Tailwind
colors: {
  custom: {
    50: '#80598e',
    500: '#4b1561',
    950: '#000000',
  },
}
SCSS
$custom: #4b1561;
$custom-light: #80598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1561",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 282.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.13095,
    "h": 314
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#4B1561
secondary
#55983A
accent
#E74071
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4B1561

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

Preview Lab → · Contrast checker → · Palette generator →

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