#4A105A#4A105A

#4A105A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.130 H 317.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4A105A
RGBrgb(74, 16, 90)
HSLhsl(287, 70%, 21%)
HSVhsv(287, 82%, 35%)
CMYKcmyk(17.8%, 82.2%, 0%, 64.7%)
CIE-LABlab(18.21, 38.06, -30.98)
CIE-LCHlch(18.21, 49.08, 320.85°)
OKLaboklab(31.18% 0.0958 -0.0872)
OKLCHoklch(31.18% 0.13 317.7)
XYZxyz(4.8545, 2.5648, 9.9102)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A105A #205A10
analogous
#25105A #4A105A #5A1045
triadic
#4A105A #5A4A10 #105A4A
tetradic
#4A105A #5A2510 #205A10 #10455A
square
#4A105A #5A2510 #205A10 #10455A
split-complementary
#4A105A #455A10 #105A25
monochromatic
#15051A #1F0726 #4A105A #75198E #9F22C2

Accessibility & contrast

On white

13.88
#4A105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A105A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A105A#FFFFFF#000000##FFFFFF
##4A105A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#492035
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a105a;
/* rgb */ color: rgb(74, 16, 90);
/* oklch */ color: oklch(31.2% 0.130 317.7);
Tailwind
colors: {
  custom: {
    50: '#805689',
    500: '#4a105a',
    950: '#000000',
  },
}
SCSS
$custom: #4a105a;
$custom-light: #805689;
$custom-dark: #000000;
JSON
{
  "hex": "#4a105a",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 287.027,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.12954,
    "h": 317.7
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#4A105A
secondary
#479333
accent
#ED3B62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4A105A

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

Preview Lab → · Contrast checker → · Palette generator →

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