#4B1056#4B1056

#4B1056 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.126 H 320.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4B1056
RGBrgb(75, 16, 86)
HSLhsl(291, 69%, 20%)
HSVhsv(291, 81%, 34%)
CMYKcmyk(12.8%, 81.4%, 0%, 66.3%)
CIE-LABlab(18.09, 37.43, -28.47)
CIE-LCHlch(18.09, 47.03, 322.74°)
OKLaboklab(31.04% 0.0977 -0.0798)
OKLCHoklch(31.04% 0.126 320.8)
XYZxyz(4.7665, 2.5386, 9.0412)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1056 #1B5610
analogous
#281056 #4B1056 #56103E
triadic
#4B1056 #564B10 #10564B
tetradic
#4B1056 #562810 #1B5610 #103E56
square
#4B1056 #562810 #1B5610 #103E56
split-complementary
#4B1056 #3E5610 #105628
monochromatic
#16051A #1E0622 #4B1056 #781A8A #A523BD

Accessibility & contrast

On white

13.93
#4B1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4B1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1056
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1056#FFFFFF#000000##FFFFFF
##4B10561.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#4B1E32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1056;
/* rgb */ color: rgb(75, 16, 86);
/* oklch */ color: oklch(31.0% 0.126 320.8);
Tailwind
colors: {
  custom: {
    50: '#805686',
    500: '#4b1056',
    950: '#000000',
  },
}
SCSS
$custom: #4b1056;
$custom-light: #805686;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1056",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 290.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.12613,
    "h": 320.8
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#4B1056
secondary
#418F32
accent
#EB3C58
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1056

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

Preview Lab → · Contrast checker → · Palette generator →

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