#4B185A#4B185A

#4B185A is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.120 H 317.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4B185A
RGBrgb(75, 24, 90)
HSLhsl(286, 58%, 22%)
HSVhsv(286, 73%, 35%)
CMYKcmyk(16.7%, 73.3%, 0%, 64.7%)
CIE-LABlab(19.59, 34.87, -28.76)
CIE-LCHlch(19.59, 45.20, 320.48°)
OKLaboklab(32.2% 0.0883 -0.0807)
OKLCHoklch(32.2% 0.12 317.6)
XYZxyz(5.0735, 2.8875, 9.9610)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B185A #275A18
analogous
#2A185A #4B185A #5A1848
triadic
#4B185A #5A4B18 #185A4B
tetradic
#4B185A #5A2A18 #275A18 #18485A
square
#4B185A #5A2A18 #275A18 #18485A
split-complementary
#4B185A #485A18 #185A2A
monochromatic
#140618 #230B2A #4B185A #73258A #9C32BB

Accessibility & contrast

On white

13.31
#4B185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B185A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B185A#FFFFFF#000000##FFFFFF
##4B185A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#4A2537
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b185a;
/* rgb */ color: rgb(75, 24, 90);
/* oklch */ color: oklch(32.2% 0.120 317.6);
Tailwind
colors: {
  custom: {
    50: '#805a89',
    500: '#4b185a',
    950: '#000000',
  },
}
SCSS
$custom: #4b185a;
$custom-light: #805a89;
$custom-dark: #000000;
JSON
{
  "hex": "#4b185a",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 286.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.11962,
    "h": 317.6
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#4B185A
secondary
#50913D
accent
#E1476A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4B185A

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

Preview Lab → · Contrast checker → · Palette generator →

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