#4A104B#4A104B

#4A104B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.115 H 327.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4A104B
RGBrgb(74, 16, 75)
HSLhsl(299, 65%, 18%)
HSVhsv(299, 79%, 29%)
CMYKcmyk(1.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(17.15, 34.97, -22.50)
CIE-LCHlch(17.15, 41.58, 327.24°)
OKLaboklab(30.1% 0.097 -0.0624)
OKLCHoklch(30.1% 0.115 327.3)
XYZxyz(4.2793, 2.3347, 6.8805)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A104B #114B10
analogous
#2C104B #4A104B #4B102E
triadic
#4A104B #4B4A10 #104B4A
tetradic
#4A104B #4B2C10 #114B10 #102E4B
square
#4A104B #4B2C10 #114B10 #102E4B
split-complementary
#4A104B #2E4B10 #104B2C
monochromatic
#190519 #190519 #4A104B #7C1B7D #AE26B0

Accessibility & contrast

On white

14.32
#4A104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A104B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A104B#FFFFFF#000000##FFFFFF
##4A104B1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254D
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#4C192C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a104b;
/* rgb */ color: rgb(74, 16, 75);
/* oklch */ color: oklch(30.1% 0.115 327.3);
Tailwind
colors: {
  custom: {
    50: '#7f557d',
    500: '#4a104b',
    950: '#000000',
  },
}
SCSS
$custom: #4a104b;
$custom-light: #7f557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a104b",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 298.983,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30096,
    "c": 0.11534,
    "h": 327.3
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#4A104B
secondary
#338532
accent
#E84043
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A104B

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

Preview Lab → · Contrast checker → · Palette generator →

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