#4F165A#4F165A

#4F165A is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.124 H 320.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4F165A
RGBrgb(79, 22, 90)
HSLhsl(290, 61%, 22%)
HSVhsv(290, 76%, 35%)
CMYKcmyk(12.2%, 75.6%, 0%, 64.7%)
CIE-LABlab(19.94, 36.78, -28.16)
CIE-LCHlch(19.94, 46.32, 322.56°)
OKLaboklab(32.59% 0.0962 -0.0788)
OKLCHoklch(32.59% 0.124 320.7)
XYZxyz(5.3566, 2.9745, 9.9629)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F165A #215A16
analogous
#2D165A #4F165A #5A1643
triadic
#4F165A #5A4F16 #165A4F
tetradic
#4F165A #5A2D16 #215A16 #16435A
square
#4F165A #5A2D16 #215A16 #16435A
split-complementary
#4F165A #435A16 #165A2D
monochromatic
#160619 #240A29 #4F165A #7A228B #A52EBC

Accessibility & contrast

On white

13.17
#4F165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F165A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F165A#FFFFFF#000000##FFFFFF
##4F165A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#502336
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f165a;
/* rgb */ color: rgb(79, 22, 90);
/* oklch */ color: oklch(32.6% 0.124 320.7);
Tailwind
colors: {
  custom: {
    50: '#835989',
    500: '#4f165a',
    950: '#000000',
  },
}
SCSS
$custom: #4f165a;
$custom-light: #835989;
$custom-dark: #000000;
JSON
{
  "hex": "#4f165a",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 290.294,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32591,
    "c": 0.12432,
    "h": 320.7
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#4F165A
secondary
#49913B
accent
#E4445E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F165A

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

Preview Lab → · Contrast checker → · Palette generator →

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