#4B104B#4B104B

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

Color values

HEX#4B104B
RGBrgb(75, 16, 75)
HSLhsl(300, 65%, 18%)
HSVhsv(300, 79%, 29%)
CMYKcmyk(0%, 78.7%, 0%, 70.6%)
CIE-LABlab(17.34, 35.23, -22.19)
CIE-LCHlch(17.34, 41.63, 327.79°)
OKLaboklab(30.27% 0.0983 -0.0614)
OKLCHoklch(30.27% 0.116 328)
XYZxyz(4.3569, 2.3747, 6.8841)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B104B #104B10
analogous
#2D104B #4B104B #4B102D
triadic
#4B104B #4B4B10 #104B4B
tetradic
#4B104B #4B2D10 #104B10 #102D4B
square
#4B104B #4B2D10 #104B10 #102D4B
split-complementary
#4B104B #2D4B10 #104B2D
monochromatic
#190519 #190519 #4B104B #7D1B7D #B026B0

Accessibility & contrast

On white

14.24
#4B104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B104B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B104B#FFFFFF#000000##FFFFFF
##4B104B1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264D
Deuteranopia (green-blind)
#202D4A
Tritanopia (blue-blind)
#4E192C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b104b;
/* rgb */ color: rgb(75, 16, 75);
/* oklch */ color: oklch(30.3% 0.116 328.0);
Tailwind
colors: {
  custom: {
    50: '#80557d',
    500: '#4b104b',
    950: '#000000',
  },
}
SCSS
$custom: #4b104b;
$custom-light: #80557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b104b",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 300,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.1159,
    "h": 328
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#4B104B
secondary
#328532
accent
#E84040
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B104B

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

Preview Lab → · Contrast checker → · Palette generator →

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