#4B104A#4B104A

#4B104A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.115 H 328.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4B104A
RGBrgb(75, 16, 74)
HSLhsl(301, 65%, 18%)
HSVhsv(301, 79%, 29%)
CMYKcmyk(0%, 78.7%, 1.3%, 70.6%)
CIE-LABlab(17.28, 35.03, -21.60)
CIE-LCHlch(17.28, 41.16, 328.34°)
OKLaboklab(30.2% 0.0983 -0.0597)
OKLCHoklch(30.2% 0.115 328.7)
XYZxyz(4.3229, 2.3612, 6.7053)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B104A #104B11
analogous
#2E104B #4B104A #4B102C
triadic
#4B104A #4A4B10 #104A4B
tetradic
#4B104A #4B2E10 #104B11 #102C4B
square
#4B104A #4B2E10 #104B11 #102C4B
split-complementary
#4B104A #2C4B10 #104B2E
monochromatic
#190519 #190519 #4B104A #7D1B7C #B026AE

Accessibility & contrast

On white

14.26
#4B104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4B104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B104A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B104A#FFFFFF#000000##FFFFFF
##4B104A1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254C
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#4E182C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b104a;
/* rgb */ color: rgb(75, 16, 74);
/* oklch */ color: oklch(30.2% 0.115 328.7);
Tailwind
colors: {
  custom: {
    50: '#80557d',
    500: '#4b104a',
    950: '#000000',
  },
}
SCSS
$custom: #4b104a;
$custom-light: #80557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b104a",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 301.017,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30201,
    "c": 0.11499,
    "h": 328.7
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#4B104A
secondary
#328533
accent
#E84340
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B104A

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

Preview Lab → · Contrast checker → · Palette generator →

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