#4F155D#4F155D

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

Color values

HEX#4F155D
RGBrgb(79, 21, 93)
HSLhsl(288, 63%, 22%)
HSVhsv(288, 77%, 36%)
CMYKcmyk(15.1%, 77.4%, 0%, 63.5%)
CIE-LABlab(20.00, 37.85, -30.06)
CIE-LCHlch(20.00, 48.33, 321.54°)
OKLaboklab(32.7% 0.0971 -0.0843)
OKLCHoklch(32.7% 0.129 319)
XYZxyz(5.4681, 2.9892, 10.6427)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F155D #235D15
analogous
#2B155D #4F155D #5D1547
triadic
#4F155D #5D4F15 #155D4F
tetradic
#4F155D #5D2B15 #235D15 #15475D
square
#4F155D #5D2B15 #235D15 #15475D
split-complementary
#4F155D #475D15 #155D2B
monochromatic
#150619 #250A2B #4F155D #79208F #A42CC1

Accessibility & contrast

On white

13.14
#4F155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F155D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F155D#FFFFFF#000000##FFFFFF
##4F155D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f155d;
/* rgb */ color: rgb(79, 21, 93);
/* oklch */ color: oklch(32.7% 0.129 319.0);
Tailwind
colors: {
  custom: {
    50: '#83598b',
    500: '#4f155d',
    950: '#000000',
  },
}
SCSS
$custom: #4f155d;
$custom-light: #83598b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f155d",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 288.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.327,
    "c": 0.1286,
    "h": 319
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#4F155D
secondary
#4B9439
accent
#E64262
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F155D

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

Preview Lab → · Contrast checker → · Palette generator →

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