#4A165F#4A165F

#4A165F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.127 H 314.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#4A165F
RGBrgb(74, 22, 95)
HSLhsl(283, 62%, 23%)
HSVhsv(283, 77%, 37%)
CMYKcmyk(22.1%, 76.8%, 0%, 62.7%)
CIE-LABlab(19.46, 36.69, -32.30)
CIE-LCHlch(19.46, 48.88, 318.64°)
OKLaboklab(32.19% 0.0888 -0.0911)
OKLCHoklch(32.19% 0.127 314.3)
XYZxyz(5.1762, 2.8561, 11.1029)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A165F #2B5F16
analogous
#26165F #4A165F #5F164F
triadic
#4A165F #5F4A16 #165F4A
tetradic
#4A165F #5F2616 #2B5F16 #164F5F
square
#4A165F #5F2616 #2B5F16 #164F5F
split-complementary
#4A165F #4F5F16 #165F26
monochromatic
#130619 #230A2D #4A165F #712291 #972DC2

Accessibility & contrast

On white

13.37
#4A165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A165F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A165F#FFFFFF#000000##FFFFFF
##4A165F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#482639
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a165f;
/* rgb */ color: rgb(74, 22, 95);
/* oklch */ color: oklch(32.2% 0.127 314.3);
Tailwind
colors: {
  custom: {
    50: '#7f598d',
    500: '#4a165f',
    950: '#000000',
  },
}
SCSS
$custom: #4a165f;
$custom-light: #7f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a165f",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 282.74,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3219,
    "c": 0.1272,
    "h": 314.3
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#4A165F
secondary
#55963B
accent
#E54271
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4A165F

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

Preview Lab → · Contrast checker → · Palette generator →

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