#4F165C#4F165C

#4F165C is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.126 H 319.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4F165C
RGBrgb(79, 22, 92)
HSLhsl(289, 61%, 22%)
HSVhsv(289, 76%, 36%)
CMYKcmyk(14.1%, 76.1%, 0%, 63.9%)
CIE-LABlab(20.08, 37.20, -29.27)
CIE-LCHlch(20.08, 47.34, 321.81°)
OKLaboklab(32.73% 0.0961 -0.082)
OKLCHoklch(32.73% 0.126 319.5)
XYZxyz(5.4429, 3.0091, 10.4172)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F165C #235C16
analogous
#2C165C #4F165C #5C1646
triadic
#4F165C #5C4F16 #165C4F
tetradic
#4F165C #5C2C16 #235C16 #16465C
square
#4F165C #5C2C16 #235C16 #16465C
split-complementary
#4F165C #465C16 #165C2C
monochromatic
#150619 #250A2B #4F165C #79228D #A42EBF

Accessibility & contrast

On white

13.11
#4F165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F165C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F165C#FFFFFF#000000##FFFFFF
##4F165C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#4F2337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f165c;
/* rgb */ color: rgb(79, 22, 92);
/* oklch */ color: oklch(32.7% 0.126 319.5);
Tailwind
colors: {
  custom: {
    50: '#83598a',
    500: '#4f165c',
    950: '#000000',
  },
}
SCSS
$custom: #4f165c;
$custom-light: #83598a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f165c",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 288.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.1263,
    "h": 319.5
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#4F165C
secondary
#4B933B
accent
#E54361
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F165C

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

Preview Lab → · Contrast checker → · Palette generator →

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