#4B1563#4B1563

#4B1563 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.133 H 313.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4B1563
RGBrgb(75, 21, 99)
HSLhsl(282, 65%, 24%)
HSVhsv(282, 79%, 39%)
CMYKcmyk(24.2%, 78.8%, 0%, 61.2%)
CIE-LABlab(19.77, 38.27, -34.43)
CIE-LCHlch(19.77, 51.48, 318.02°)
OKLaboklab(32.55% 0.0907 -0.0973)
OKLCHoklch(32.55% 0.133 313)
XYZxyz(5.4215, 2.9332, 12.0825)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1563 #2D6315
analogous
#241563 #4B1563 #631554
triadic
#4B1563 #634B15 #15634B
tetradic
#4B1563 #632415 #2D6315 #155463
square
#4B1563 #632415 #2D6315 #155463
split-complementary
#4B1563 #546315 #156324
monochromatic
#130519 #250A31 #4B1563 #712095 #972AC8

Accessibility & contrast

On white

13.24
#4B1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1563
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1563#FFFFFF#000000##FFFFFF
##4B15631.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#48273B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1563;
/* rgb */ color: rgb(75, 21, 99);
/* oklch */ color: oklch(32.5% 0.133 313.0);
Tailwind
colors: {
  custom: {
    50: '#815990',
    500: '#4b1563',
    950: '#000000',
  },
}
SCSS
$custom: #4b1563;
$custom-light: #815990;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1563",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 281.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.13301,
    "h": 313
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#4B1563
secondary
#579A3A
accent
#E84074
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4B1563

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

Preview Lab → · Contrast checker → · Palette generator →

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