#4A105D#4A105D

#4A105D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.132 H 316.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4A105D
RGBrgb(74, 16, 93)
HSLhsl(285, 71%, 21%)
HSVhsv(285, 83%, 36%)
CMYKcmyk(20.4%, 82.8%, 0%, 63.5%)
CIE-LABlab(18.44, 38.71, -32.62)
CIE-LCHlch(18.44, 50.62, 319.88°)
OKLaboklab(31.42% 0.0953 -0.092)
OKLCHoklch(31.42% 0.132 316)
XYZxyz(4.9848, 2.6169, 10.5963)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A105D #235D10
analogous
#24105D #4A105D #5D104A
triadic
#4A105D #5D4A10 #105D4A
tetradic
#4A105D #5D2410 #235D10 #104A5D
square
#4A105D #5D2410 #235D10 #104A5D
split-complementary
#4A105D #4A5D10 #105D24
monochromatic
#15041A #200729 #4A105D #741991 #9D22C5

Accessibility & contrast

On white

13.78
#4A105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A105D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A105D#FFFFFF#000000##FFFFFF
##4A105D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0F2E5B
Tritanopia (blue-blind)
#492236
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a105d;
/* rgb */ color: rgb(74, 16, 93);
/* oklch */ color: oklch(31.4% 0.132 316.0);
Tailwind
colors: {
  custom: {
    50: '#80568b',
    500: '#4a105d',
    950: '#000000',
  },
}
SCSS
$custom: #4a105d;
$custom-light: #80568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a105d",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 285.195,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.13246,
    "h": 316
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#4A105D
secondary
#4B9633
accent
#ED3A67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A105D

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

Preview Lab → · Contrast checker → · Palette generator →

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