#4B185B#4B185B

#4B185B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.121 H 317.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4B185B
RGBrgb(75, 24, 91)
HSLhsl(286, 58%, 23%)
HSVhsv(286, 74%, 36%)
CMYKcmyk(17.6%, 73.6%, 0%, 64.3%)
CIE-LABlab(19.66, 35.09, -29.31)
CIE-LCHlch(19.66, 45.72, 320.12°)
OKLaboklab(32.27% 0.0882 -0.0823)
OKLCHoklch(32.27% 0.121 317)
XYZxyz(5.1163, 2.9047, 10.1867)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B185B #285B18
analogous
#2A185B #4B185B #5B1849
triadic
#4B185B #5B4B18 #185B4B
tetradic
#4B185B #5B2A18 #285B18 #18495B
square
#4B185B #5B2A18 #285B18 #18495B
split-complementary
#4B185B #495B18 #185B2A
monochromatic
#140618 #230B2B #4B185B #73258B #9B32BC

Accessibility & contrast

On white

13.28
#4B185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B185B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B185B#FFFFFF#000000##FFFFFF
##4B185B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#4A2537
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b185b;
/* rgb */ color: rgb(75, 24, 91);
/* oklch */ color: oklch(32.3% 0.121 317.0);
Tailwind
colors: {
  custom: {
    50: '#805a8a',
    500: '#4b185b',
    950: '#000000',
  },
}
SCSS
$custom: #4b185b;
$custom-light: #805a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b185b",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 285.672,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32273,
    "c": 0.12067,
    "h": 317
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#4B185B
secondary
#51923D
accent
#E1466B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B185B

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

Preview Lab → · Contrast checker → · Palette generator →

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