#4B165B#4B165B

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

Color values

HEX#4B165B
RGBrgb(75, 22, 91)
HSLhsl(286, 61%, 22%)
HSVhsv(286, 76%, 36%)
CMYKcmyk(17.6%, 75.8%, 0%, 64.3%)
CIE-LABlab(19.33, 36.02, -29.84)
CIE-LCHlch(19.33, 46.77, 320.36°)
OKLaboklab(32.04% 0.0906 -0.0838)
OKLCHoklch(32.04% 0.123 317.2)
XYZxyz(5.0766, 2.8252, 10.1734)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B165B #265B16
analogous
#29165B #4B165B #5B1649
triadic
#4B165B #5B4B16 #165B4B
tetradic
#4B165B #5B2916 #265B16 #16495B
square
#4B165B #5B2916 #265B16 #16495B
split-complementary
#4B165B #495B16 #165B29
monochromatic
#140619 #220A2A #4B165B #74228C #9C2EBE

Accessibility & contrast

On white

13.42
#4B165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B165B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B165B#FFFFFF#000000##FFFFFF
##4B165B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#183059
Tritanopia (blue-blind)
#4A2437
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b165b;
/* rgb */ color: rgb(75, 22, 91);
/* oklch */ color: oklch(32.0% 0.123 317.2);
Tailwind
colors: {
  custom: {
    50: '#80598a',
    500: '#4b165b',
    950: '#000000',
  },
}
SCSS
$custom: #4b165b;
$custom-light: #80598a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b165b",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 286.087,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32039,
    "c": 0.12347,
    "h": 317.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#4B165B
secondary
#4F923B
accent
#E44469
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B165B

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

Preview Lab → · Contrast checker → · Palette generator →

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