#4B165D#4B165D

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

Color values

HEX#4B165D
RGBrgb(75, 22, 93)
HSLhsl(285, 62%, 23%)
HSVhsv(285, 76%, 36%)
CMYKcmyk(19.4%, 76.3%, 0%, 63.5%)
CIE-LABlab(19.48, 36.46, -30.94)
CIE-LCHlch(19.48, 47.82, 319.69°)
OKLaboklab(32.19% 0.0904 -0.0871)
OKLCHoklch(32.19% 0.126 316.1)
XYZxyz(5.1640, 2.8602, 10.6339)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B165D #285D16
analogous
#28165D #4B165D #5D164B
triadic
#4B165D #5D4B16 #165D4B
tetradic
#4B165D #5D2816 #285D16 #164B5D
square
#4B165D #5D2816 #285D16 #164B5D
split-complementary
#4B165D #4B5D16 #165D28
monochromatic
#140619 #230A2C #4B165D #73228E #9B2DC0

Accessibility & contrast

On white

13.36
#4B165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B165D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B165D#FFFFFF#000000##FFFFFF
##4B165D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#16315B
Tritanopia (blue-blind)
#4A2538
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b165d;
/* rgb */ color: rgb(75, 22, 93);
/* oklch */ color: oklch(32.2% 0.126 316.1);
Tailwind
colors: {
  custom: {
    50: '#80598b',
    500: '#4b165d',
    950: '#000000',
  },
}
SCSS
$custom: #4b165d;
$custom-light: #80598b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b165d",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 284.789,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.12553,
    "h": 316.1
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#4B165D
secondary
#51943B
accent
#E5436C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B165D

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

Preview Lab → · Contrast checker → · Palette generator →

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