#4B104D#4B104D

#4B104D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.118 H 326.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4B104D
RGBrgb(75, 16, 77)
HSLhsl(298, 66%, 18%)
HSVhsv(298, 79%, 30%)
CMYKcmyk(2.6%, 79.2%, 0%, 69.8%)
CIE-LABlab(17.47, 35.61, -23.35)
CIE-LCHlch(17.47, 42.59, 326.75°)
OKLaboklab(30.4% 0.0983 -0.0648)
OKLCHoklch(30.4% 0.118 326.6)
XYZxyz(4.4264, 2.4026, 7.2503)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B104D #124D10
analogous
#2C104D #4B104D #4D1030
triadic
#4B104D #4D4B10 #104D4B
tetradic
#4B104D #4D2C10 #124D10 #10304D
square
#4B104D #4D2C10 #124D10 #10304D
split-complementary
#4B104D #304D10 #104D2C
monochromatic
#190519 #1A051A #4B104D #7C1B80 #AE25B2

Accessibility & contrast

On white

14.19
#4B104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B104D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B104D#FFFFFF#000000##FFFFFF
##4B104D1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264F
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#4D1A2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b104d;
/* rgb */ color: rgb(75, 16, 77);
/* oklch */ color: oklch(30.4% 0.118 326.6);
Tailwind
colors: {
  custom: {
    50: '#80557f',
    500: '#4b104d',
    950: '#000000',
  },
}
SCSS
$custom: #4b104d;
$custom-light: #80557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b104d",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 298.033,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30402,
    "c": 0.11773,
    "h": 326.6
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#4B104D
secondary
#358732
accent
#E93F45
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B104D

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

Preview Lab → · Contrast checker → · Palette generator →

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