#4B1963#4B1963

#4B1963 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.128 H 312.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4B1963
RGBrgb(75, 25, 99)
HSLhsl(281, 60%, 24%)
HSVhsv(281, 75%, 39%)
CMYKcmyk(24.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(20.41, 36.47, -33.40)
CIE-LCHlch(20.41, 49.46, 317.51°)
OKLaboklab(33% 0.0863 -0.0943)
OKLCHoklch(33% 0.128 312.5)
XYZxyz(5.5010, 3.0921, 12.1090)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1963 #316319
analogous
#261963 #4B1963 #631956
triadic
#4B1963 #634B19 #19634B
tetradic
#4B1963 #632619 #316319 #195663
square
#4B1963 #632619 #316319 #195663
split-complementary
#4B1963 #566319 #196326
monochromatic
#130618 #260D32 #4B1963 #702594 #9532C5

Accessibility & contrast

On white

12.98
#4B1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1963
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1963#FFFFFF#000000##FFFFFF
##4B19631.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#48293C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1963;
/* rgb */ color: rgb(75, 25, 99);
/* oklch */ color: oklch(33.0% 0.128 312.5);
Tailwind
colors: {
  custom: {
    50: '#805b90',
    500: '#4b1963',
    950: '#000000',
  },
}
SCSS
$custom: #4b1963;
$custom-light: #805b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1963",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 280.541,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.12782,
    "h": 312.5
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#4B1963
secondary
#5C993F
accent
#E34578
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B1963

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

Preview Lab → · Contrast checker → · Palette generator →

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