#4B165A#4B165A

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

Color values

HEX#4B165A
RGBrgb(75, 22, 90)
HSLhsl(287, 61%, 22%)
HSVhsv(287, 76%, 35%)
CMYKcmyk(16.7%, 75.6%, 0%, 64.7%)
CIE-LABlab(19.26, 35.79, -29.29)
CIE-LCHlch(19.26, 46.25, 320.71°)
OKLaboklab(31.97% 0.0907 -0.0822)
OKLCHoklch(31.97% 0.122 317.8)
XYZxyz(5.0338, 2.8081, 9.9477)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B165A #255A16
analogous
#29165A #4B165A #5A1647
triadic
#4B165A #5A4B16 #165A4B
tetradic
#4B165A #5A2916 #255A16 #16475A
square
#4B165A #5A2916 #255A16 #16475A
split-complementary
#4B165A #475A16 #165A29
monochromatic
#140619 #220A29 #4B165A #74228B #9D2EBC

Accessibility & contrast

On white

13.45
#4B165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B165A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B165A#FFFFFF#000000##FFFFFF
##4B165A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#193058
Tritanopia (blue-blind)
#4B2336
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b165a;
/* rgb */ color: rgb(75, 22, 90);
/* oklch */ color: oklch(32.0% 0.122 317.8);
Tailwind
colors: {
  custom: {
    50: '#805989',
    500: '#4b165a',
    950: '#000000',
  },
}
SCSS
$custom: #4b165a;
$custom-light: #805989;
$custom-dark: #000000;
JSON
{
  "hex": "#4b165a",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 286.765,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31965,
    "c": 0.12243,
    "h": 317.8
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#4B165A
secondary
#4E913B
accent
#E44467
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4B165A

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

Preview Lab → · Contrast checker → · Palette generator →

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