#4B164F#4B164F

#4B164F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.111 H 324.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4B164F
RGBrgb(75, 22, 79)
HSLhsl(296, 56%, 20%)
HSVhsv(296, 72%, 31%)
CMYKcmyk(5.1%, 72.2%, 0%, 69%)
CIE-LABlab(18.52, 33.43, -23.06)
CIE-LCHlch(18.52, 40.61, 325.40°)
OKLaboklab(31.19% 0.0911 -0.064)
OKLCHoklch(31.19% 0.111 324.9)
XYZxyz(4.5997, 2.6345, 7.6618)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B164F #1A4F16
analogous
#2E164F #4B164F #4F1637
triadic
#4B164F #4F4B16 #164F4B
tetradic
#4B164F #4F2E16 #1A4F16 #16374F
square
#4B164F #4F2E16 #1A4F16 #16374F
split-complementary
#4B164F #374F16 #164F2E
monochromatic
#170718 #1E091F #4B164F #78237F #A631AF

Accessibility & contrast

On white

13.75
#4B164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B164F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B164F#FFFFFF#000000##FFFFFF
##4B164F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2951
Deuteranopia (green-blind)
#212F4E
Tritanopia (blue-blind)
#4D1F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b164f;
/* rgb */ color: rgb(75, 22, 79);
/* oklch */ color: oklch(31.2% 0.111 324.9);
Tailwind
colors: {
  custom: {
    50: '#7f5880',
    500: '#4b164f',
    950: '#000000',
  },
}
SCSS
$custom: #4b164f;
$custom-light: #7f5880;
$custom-dark: #000000;
JSON
{
  "hex": "#4b164f",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 295.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31193,
    "c": 0.11133,
    "h": 324.9
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#4B164F
secondary
#40863A
accent
#E04853
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B164F

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

Preview Lab → · Contrast checker → · Palette generator →

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