#4B1565#4B1565

#4B1565 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.135 H 312.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4B1565
RGBrgb(75, 21, 101)
HSLhsl(281, 66%, 24%)
HSVhsv(281, 79%, 40%)
CMYKcmyk(25.7%, 79.2%, 0%, 60.4%)
CIE-LABlab(19.93, 38.73, -35.49)
CIE-LCHlch(19.93, 52.54, 317.50°)
OKLaboklab(32.71% 0.0904 -0.1004)
OKLCHoklch(32.71% 0.135 312)
XYZxyz(5.5183, 2.9719, 12.5923)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1565 #2F6515
analogous
#231565 #4B1565 #651557
triadic
#4B1565 #654B15 #15654B
tetradic
#4B1565 #652315 #2F6515 #155765
square
#4B1565 #652315 #2F6515 #155765
split-complementary
#4B1565 #576515 #156523
monochromatic
#130519 #250A32 #4B1565 #712098 #962ACA

Accessibility & contrast

On white

13.17
#4B1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4B1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1565
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1565#FFFFFF#000000##FFFFFF
##4B15651.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#093163
Tritanopia (blue-blind)
#48273C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1565;
/* rgb */ color: rgb(75, 21, 101);
/* oklch */ color: oklch(32.7% 0.135 312.0);
Tailwind
colors: {
  custom: {
    50: '#815991',
    500: '#4b1565',
    950: '#000000',
  },
}
SCSS
$custom: #4b1565;
$custom-light: #815991;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1565",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 280.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.13508,
    "h": 312
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#4B1565
secondary
#5A9C3A
accent
#E93F76
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1565

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

Preview Lab → · Contrast checker → · Palette generator →

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