#4A16B4#4A16B4

#4A16B4 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.3% C 0.217 H 286.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4A16B4
RGBrgb(74, 22, 180)
HSLhsl(260, 78%, 40%)
HSVhsv(260, 88%, 71%)
CMYKcmyk(58.9%, 87.8%, 0%, 29.4%)
CIE-LABlab(27.64, 58.09, -72.17)
CIE-LCHlch(27.64, 92.65, 308.83°)
OKLaboklab(40.33% 0.061 -0.2079)
OKLCHoklch(40.33% 0.217 286.4)
XYZxyz(11.3467, 5.3243, 43.6010)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A16B4 #80B416
analogous
#1631B4 #4A16B4 #9916B4
triadic
#4A16B4 #B44A16 #16B44A
tetradic
#4A16B4 #B41631 #80B416 #16B499
square
#4A16B4 #B41631 #80B416 #16B499
split-complementary
#4A16B4 #B49916 #31B416
monochromatic
#1D0947 #340F7D #4A16B4 #6323E4 #895AEB

Accessibility & contrast

On white

10.17
#4A16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A16B4
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A16B4#FFFFFF#000000##FFFFFF
##4A16B41.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#0C4B6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a16b4;
/* rgb */ color: rgb(74, 22, 180);
/* oklch */ color: oklch(40.3% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ecc',
    500: '#4a16b4',
    950: '#000000',
  },
}
SCSS
$custom: #4a16b4;
$custom-light: #8a5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a16b4",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 259.747,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.21665,
    "h": 286.4
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#4A16B4
secondary
#A7CE58
accent
#F533B5
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4A16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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