#4B105B#4B105B

#4B105B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.131 H 317.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4B105B
RGBrgb(75, 16, 91)
HSLhsl(287, 70%, 21%)
HSVhsv(287, 82%, 36%)
CMYKcmyk(17.6%, 82.4%, 0%, 64.3%)
CIE-LABlab(18.46, 38.49, -31.24)
CIE-LCHlch(18.46, 49.57, 320.94°)
OKLaboklab(31.42% 0.0971 -0.0879)
OKLCHoklch(31.42% 0.131 317.8)
XYZxyz(4.9750, 2.6220, 10.1395)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105B #205B10
analogous
#25105B #4B105B #5B1045
triadic
#4B105B #5B4B10 #105B4B
tetradic
#4B105B #5B2510 #205B10 #10455B
square
#4B105B #5B2510 #205B10 #10455B
split-complementary
#4B105B #455B10 #105B25
monochromatic
#15051A #200727 #4B105B #76198F #A122C3

Accessibility & contrast

On white

13.78
#4B105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B105B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105B#FFFFFF#000000##FFFFFF
##4B105B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#4A2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b105b;
/* rgb */ color: rgb(75, 16, 91);
/* oklch */ color: oklch(31.4% 0.131 317.8);
Tailwind
colors: {
  custom: {
    50: '#80568a',
    500: '#4b105b',
    950: '#000000',
  },
}
SCSS
$custom: #4b105b;
$custom-light: #80568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105b",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 287.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.13093,
    "h": 317.8
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#4B105B
secondary
#479433
accent
#ED3B61
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B105B

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

Preview Lab → · Contrast checker → · Palette generator →

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