#4B1566#4B1566

#4B1566 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.136 H 311.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4B1566
RGBrgb(75, 21, 102)
HSLhsl(280, 66%, 24%)
HSVhsv(280, 79%, 40%)
CMYKcmyk(26.5%, 79.4%, 0%, 60%)
CIE-LABlab(20.01, 38.97, -36.02)
CIE-LCHlch(20.01, 53.07, 317.25°)
OKLaboklab(32.79% 0.0902 -0.102)
OKLCHoklch(32.79% 0.136 311.5)
XYZxyz(5.5676, 2.9916, 12.8519)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1566 #306615
analogous
#231566 #4B1566 #661559
triadic
#4B1566 #664B15 #15664B
tetradic
#4B1566 #662315 #306615 #155966
square
#4B1566 #662315 #306615 #155966
split-complementary
#4B1566 #596615 #156623
monochromatic
#130519 #260B33 #4B1566 #701F99 #962ACC

Accessibility & contrast

On white

13.14
#4B1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1566
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1566#FFFFFF#000000##FFFFFF
##4B15661.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#073164
Tritanopia (blue-blind)
#48283C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1566;
/* rgb */ color: rgb(75, 21, 102);
/* oklch */ color: oklch(32.8% 0.136 311.5);
Tailwind
colors: {
  custom: {
    50: '#815992',
    500: '#4b1566',
    950: '#000000',
  },
}
SCSS
$custom: #4b1566;
$custom-light: #815992;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1566",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 280,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.13611,
    "h": 311.5
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#4B1566
secondary
#5B9D3A
accent
#E93F78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1566

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

Preview Lab → · Contrast checker → · Palette generator →

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