#4A105C#4A105C

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

Color values

HEX#4A105C
RGBrgb(74, 16, 92)
HSLhsl(286, 70%, 21%)
HSVhsv(286, 83%, 36%)
CMYKcmyk(19.6%, 82.6%, 0%, 63.9%)
CIE-LABlab(18.36, 38.49, -32.07)
CIE-LCHlch(18.36, 50.10, 320.20°)
OKLaboklab(31.34% 0.0955 -0.0904)
OKLCHoklch(31.34% 0.131 316.6)
XYZxyz(4.9408, 2.5993, 10.3646)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A105C #225C10
analogous
#24105C #4A105C #5C1048
triadic
#4A105C #5C4A10 #105C4A
tetradic
#4A105C #5C2410 #225C10 #10485C
square
#4A105C #5C2410 #225C10 #10485C
split-complementary
#4A105C #485C10 #105C24
monochromatic
#15051A #200728 #4A105C #741990 #9E22C4

Accessibility & contrast

On white

13.82
#4A105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A105C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A105C#FFFFFF#000000##FFFFFF
##4A105C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#492136
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a105c;
/* rgb */ color: rgb(74, 16, 92);
/* oklch */ color: oklch(31.3% 0.131 316.6);
Tailwind
colors: {
  custom: {
    50: '#80568b',
    500: '#4a105c',
    950: '#000000',
  },
}
SCSS
$custom: #4a105c;
$custom-light: #80568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a105c",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 285.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.13149,
    "h": 316.6
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#4A105C
secondary
#4A9533
accent
#ED3B65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4A105C

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

Preview Lab → · Contrast checker → · Palette generator →

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