#4B104C#4B104C

#4B104C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.117 H 327.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4B104C
RGBrgb(75, 16, 76)
HSLhsl(299, 65%, 18%)
HSVhsv(299, 79%, 30%)
CMYKcmyk(1.3%, 78.9%, 0%, 70.2%)
CIE-LABlab(17.41, 35.42, -22.77)
CIE-LCHlch(17.41, 42.11, 327.26°)
OKLaboklab(30.33% 0.0983 -0.0631)
OKLCHoklch(30.33% 0.117 327.3)
XYZxyz(4.3914, 2.3885, 7.0658)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B104C #114C10
analogous
#2D104C #4B104C #4C102F
triadic
#4B104C #4C4B10 #104C4B
tetradic
#4B104C #4C2D10 #114C10 #102F4C
square
#4B104C #4C2D10 #114C10 #102F4C
split-complementary
#4B104C #2F4C10 #104C2D
monochromatic
#190519 #190519 #4B104C #7D1B7F #AF25B1

Accessibility & contrast

On white

14.21
#4B104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B104C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B104C#FFFFFF#000000##FFFFFF
##4B104C1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264E
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#4D192D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b104c;
/* rgb */ color: rgb(75, 16, 76);
/* oklch */ color: oklch(30.3% 0.117 327.3);
Tailwind
colors: {
  custom: {
    50: '#80557e',
    500: '#4b104c',
    950: '#000000',
  },
}
SCSS
$custom: #4b104c;
$custom-light: #80557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b104c",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 299,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30334,
    "c": 0.11681,
    "h": 327.3
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#4B104C
secondary
#338632
accent
#E84042
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B104C

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

Preview Lab → · Contrast checker → · Palette generator →

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