#4A165D#4A165D

#4A165D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.125 H 315.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4A165D
RGBrgb(74, 22, 93)
HSLhsl(284, 62%, 23%)
HSVhsv(284, 76%, 36%)
CMYKcmyk(20.4%, 76.3%, 0%, 63.5%)
CIE-LABlab(19.31, 36.23, -31.21)
CIE-LCHlch(19.31, 47.82, 319.25°)
OKLaboklab(32.04% 0.089 -0.0879)
OKLCHoklch(32.04% 0.125 315.4)
XYZxyz(5.0864, 2.8202, 10.6302)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A165D #295D16
analogous
#27165D #4A165D #5D164C
triadic
#4A165D #5D4A16 #165D4A
tetradic
#4A165D #5D2716 #295D16 #164C5D
square
#4A165D #5D2716 #295D16 #164C5D
split-complementary
#4A165D #4C5D16 #165D27
monochromatic
#140619 #230A2C #4A165D #71228E #992DC0

Accessibility & contrast

On white

13.43
#4A165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4A165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A165D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A165D#FFFFFF#000000##FFFFFF
##4A165D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#492538
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a165d;
/* rgb */ color: rgb(74, 22, 93);
/* oklch */ color: oklch(32.0% 0.125 315.4);
Tailwind
colors: {
  custom: {
    50: '#7f598b',
    500: '#4a165d',
    950: '#000000',
  },
}
SCSS
$custom: #4a165d;
$custom-light: #7f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a165d",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 283.944,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32036,
    "c": 0.1251,
    "h": 315.4
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#4A165D
secondary
#53943B
accent
#E5436E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A165D

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

Preview Lab → · Contrast checker → · Palette generator →

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