#4B1058#4B1058

#4B1058 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.128 H 319.6°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4B1058
RGBrgb(75, 16, 88)
HSLhsl(289, 69%, 20%)
HSVhsv(289, 82%, 35%)
CMYKcmyk(14.8%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.24, 37.85, -29.59)
CIE-LCHlch(18.24, 48.04, 321.99°)
OKLaboklab(31.19% 0.0975 -0.083)
OKLCHoklch(31.19% 0.128 319.6)
XYZxyz(4.8482, 2.5713, 9.4716)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1058 #1D5810
analogous
#271058 #4B1058 #581041
triadic
#4B1058 #584B10 #10584B
tetradic
#4B1058 #582710 #1D5810 #104158
square
#4B1058 #582710 #1D5810 #104158
split-complementary
#4B1058 #415810 #105827
monochromatic
#16051A #1F0724 #4B1058 #77198C #A323C0

Accessibility & contrast

On white

13.87
#4B1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1058
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1058#FFFFFF#000000##FFFFFF
##4B10581.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#4B1F33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b1058;
/* rgb */ color: rgb(75, 16, 88);
/* oklch */ color: oklch(31.2% 0.128 319.6);
Tailwind
colors: {
  custom: {
    50: '#805687',
    500: '#4b1058',
    950: '#000000',
  },
}
SCSS
$custom: #4b1058;
$custom-light: #805687;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1058",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 289.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31192,
    "c": 0.12805,
    "h": 319.6
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#4B1058
secondary
#449132
accent
#EC3C5C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B1058

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

Preview Lab → · Contrast checker → · Palette generator →

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