#4B165F#4B165F

#4B165F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.128 H 315.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4B165F
RGBrgb(75, 22, 95)
HSLhsl(284, 62%, 23%)
HSVhsv(284, 77%, 37%)
CMYKcmyk(21.1%, 76.8%, 0%, 62.7%)
CIE-LABlab(19.62, 36.92, -32.03)
CIE-LCHlch(19.62, 48.88, 319.06°)
OKLaboklab(32.34% 0.0902 -0.0902)
OKLCHoklch(32.34% 0.128 315)
XYZxyz(5.2538, 2.8961, 11.1065)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B165F #2A5F16
analogous
#27165F #4B165F #5F164E
triadic
#4B165F #5F4B16 #165F4B
tetradic
#4B165F #5F2716 #2A5F16 #164E5F
square
#4B165F #5F2716 #2A5F16 #164E5F
split-complementary
#4B165F #4E5F16 #165F27
monochromatic
#140619 #240A2D #4B165F #722291 #992DC2

Accessibility & contrast

On white

13.30
#4B165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B165F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B165F#FFFFFF#000000##FFFFFF
##4B165F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#492539
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b165f;
/* rgb */ color: rgb(75, 22, 95);
/* oklch */ color: oklch(32.3% 0.128 315.0);
Tailwind
colors: {
  custom: {
    50: '#80598d',
    500: '#4b165f',
    950: '#000000',
  },
}
SCSS
$custom: #4b165f;
$custom-light: #80598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b165f",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 283.562,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.1276,
    "h": 315
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#4B165F
secondary
#54963B
accent
#E5426F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B165F

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

Preview Lab → · Contrast checker → · Palette generator →

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