#4B0D56#4B0D56

#4B0D56 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.129 H 321.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4B0D56
RGBrgb(75, 13, 86)
HSLhsl(291, 74%, 19%)
HSVhsv(291, 85%, 34%)
CMYKcmyk(12.8%, 84.9%, 0%, 66.3%)
CIE-LABlab(17.72, 38.51, -29.08)
CIE-LCHlch(17.72, 48.26, 322.95°)
OKLaboklab(30.78% 0.1006 -0.0815)
OKLCHoklch(30.78% 0.129 321)
XYZxyz(4.7251, 2.4559, 9.0274)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0D56 #18560D
analogous
#270D56 #4B0D56 #560D3D
triadic
#4B0D56 #564B0D #0D564B
tetradic
#4B0D56 #56270D #18560D #0D3D56
square
#4B0D56 #56270D #18560D #0D3D56
split-complementary
#4B0D56 #3D560D #0D5627
monochromatic
#17041B #1D0521 #4B0D56 #79158B #A81DC0

Accessibility & contrast

On white

14.08
#4B0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4B0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0D56
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0D56#FFFFFF#000000##FFFFFF
##4B0D561.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#162E54
Tritanopia (blue-blind)
#4C1D32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0d56;
/* rgb */ color: rgb(75, 13, 86);
/* oklch */ color: oklch(30.8% 0.129 321.0);
Tailwind
colors: {
  custom: {
    50: '#805586',
    500: '#4b0d56',
    950: '#000000',
  },
}
SCSS
$custom: #4b0d56;
$custom-light: #805586;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0d56",
  "rgb": {
    "r": 75,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 290.959,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.12947,
    "h": 321
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#4B0D56
secondary
#3D912E
accent
#F03753
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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