#4F165F#4F165F

#4F165F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.129 H 317.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#4F165F
RGBrgb(79, 22, 95)
HSLhsl(287, 62%, 23%)
HSVhsv(287, 77%, 37%)
CMYKcmyk(16.8%, 76.8%, 0%, 62.7%)
CIE-LABlab(20.29, 37.85, -30.92)
CIE-LCHlch(20.29, 48.87, 320.76°)
OKLaboklab(32.95% 0.0958 -0.0868)
OKLCHoklch(32.95% 0.129 317.8)
XYZxyz(5.5766, 3.0626, 11.1216)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F165F #265F16
analogous
#2A165F #4F165F #5F164A
triadic
#4F165F #5F4F16 #165F4F
tetradic
#4F165F #5F2A16 #265F16 #164A5F
square
#4F165F #5F2A16 #265F16 #164A5F
split-complementary
#4F165F #4A5F16 #165F2A
monochromatic
#150619 #260A2D #4F165F #782291 #A22DC2

Accessibility & contrast

On white

13.02
#4F165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F165F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F165F#FFFFFF#000000##FFFFFF
##4F165F1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#19335D
Tritanopia (blue-blind)
#4E2539
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f165f;
/* rgb */ color: rgb(79, 22, 95);
/* oklch */ color: oklch(33.0% 0.129 317.8);
Tailwind
colors: {
  custom: {
    50: '#83598d',
    500: '#4f165f',
    950: '#000000',
  },
}
SCSS
$custom: #4f165f;
$custom-light: #83598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f165f",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 286.849,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.1293,
    "h": 317.8
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#4F165F
secondary
#4F963B
accent
#E54266
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F165F

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

Preview Lab → · Contrast checker → · Palette generator →

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