#4F165D#4F165D

#4F165D is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.127 H 318.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4F165D
RGBrgb(79, 22, 93)
HSLhsl(288, 62%, 23%)
HSVhsv(288, 76%, 36%)
CMYKcmyk(15.1%, 76.3%, 0%, 63.5%)
CIE-LABlab(20.15, 37.42, -29.82)
CIE-LCHlch(20.15, 47.85, 321.45°)
OKLaboklab(32.81% 0.096 -0.0836)
OKLCHoklch(32.81% 0.127 318.9)
XYZxyz(5.4869, 3.0267, 10.6490)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F165D #245D16
analogous
#2B165D #4F165D #5D1647
triadic
#4F165D #5D4F16 #165D4F
tetradic
#4F165D #5D2B16 #245D16 #16475D
square
#4F165D #5D2B16 #245D16 #16475D
split-complementary
#4F165D #475D16 #165D2B
monochromatic
#150619 #250A2C #4F165D #79228E #A32DC0

Accessibility & contrast

On white

13.08
#4F165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F165D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F165D#FFFFFF#000000##FFFFFF
##4F165D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#1B325B
Tritanopia (blue-blind)
#4F2438
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f165d;
/* rgb */ color: rgb(79, 22, 93);
/* oklch */ color: oklch(32.8% 0.127 318.9);
Tailwind
colors: {
  custom: {
    50: '#83598b',
    500: '#4f165d',
    950: '#000000',
  },
}
SCSS
$custom: #4f165d;
$custom-light: #83598b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f165d",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 288.169,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32807,
    "c": 0.1273,
    "h": 318.9
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#4F165D
secondary
#4C943B
accent
#E54363
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F165D

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

Preview Lab → · Contrast checker → · Palette generator →

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