#4B0B56#4B0B56

#4B0B56 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.131 H 321.1°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#4B0B56
RGBrgb(75, 11, 86)
HSLhsl(291, 77%, 19%)
HSVhsv(291, 87%, 34%)
CMYKcmyk(12.8%, 87.2%, 0%, 66.3%)
CIE-LABlab(17.49, 39.16, -29.44)
CIE-LCHlch(17.49, 48.99, 323.07°)
OKLaboklab(30.62% 0.1023 -0.0826)
OKLCHoklch(30.62% 0.131 321.1)
XYZxyz(4.7008, 2.4073, 9.0194)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0B56 #16560B
analogous
#260B56 #4B0B56 #560B3C
triadic
#4B0B56 #564B0B #0B564B
tetradic
#4B0B56 #56260B #16560B #0B3C56
square
#4B0B56 #56260B #16560B #0B3C56
split-complementary
#4B0B56 #3C560B #0B5626
monochromatic
#18031B #1C0420 #4B0B56 #7A128C #AA19C3

Accessibility & contrast

On white

14.18
#4B0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0B56
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0B56#FFFFFF#000000##FFFFFF
##4B0B561.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#152D54
Tritanopia (blue-blind)
#4C1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0b56;
/* rgb */ color: rgb(75, 11, 86);
/* oklch */ color: oklch(30.6% 0.131 321.1);
Tailwind
colors: {
  custom: {
    50: '#805486',
    500: '#4b0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4b0b56;
$custom-light: #805486;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0b56",
  "rgb": {
    "r": 75,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 291.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.13146,
    "h": 321.1
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#4B0B56
secondary
#3A912B
accent
#F43450
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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