#4A105B#4A105B

#4A105B is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 317.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4A105B
RGBrgb(74, 16, 91)
HSLhsl(286, 70%, 21%)
HSVhsv(286, 82%, 36%)
CMYKcmyk(18.7%, 82.4%, 0%, 64.3%)
CIE-LABlab(18.29, 38.27, -31.53)
CIE-LCHlch(18.29, 49.59, 320.52°)
OKLaboklab(31.26% 0.0957 -0.0888)
OKLCHoklch(31.26% 0.131 317.1)
XYZxyz(4.8974, 2.5820, 10.1359)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A105B #215B10
analogous
#24105B #4A105B #5B1046
triadic
#4A105B #5B4A10 #105B4A
tetradic
#4A105B #5B2410 #215B10 #10465B
square
#4A105B #5B2410 #215B10 #10465B
split-complementary
#4A105B #465B10 #105B24
monochromatic
#15051A #200727 #4A105B #74198F #9F22C3

Accessibility & contrast

On white

13.85
#4A105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4A105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A105B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A105B#FFFFFF#000000##FFFFFF
##4A105B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#112E59
Tritanopia (blue-blind)
#492135
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a105b;
/* rgb */ color: rgb(74, 16, 91);
/* oklch */ color: oklch(31.3% 0.131 317.1);
Tailwind
colors: {
  custom: {
    50: '#80568a',
    500: '#4a105b',
    950: '#000000',
  },
}
SCSS
$custom: #4a105b;
$custom-light: #80568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a105b",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 286.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31262,
    "c": 0.13051,
    "h": 317.1
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#4A105B
secondary
#499433
accent
#ED3B63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A105B

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

Preview Lab → · Contrast checker → · Palette generator →

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