#4F155F#4F155F

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

Color values

HEX#4F155F
RGBrgb(79, 21, 95)
HSLhsl(287, 64%, 23%)
HSVhsv(287, 78%, 37%)
CMYKcmyk(16.8%, 77.9%, 0%, 62.7%)
CIE-LABlab(20.14, 38.28, -31.16)
CIE-LCHlch(20.14, 49.35, 320.86°)
OKLaboklab(32.85% 0.0969 -0.0875)
OKLCHoklch(32.85% 0.131 317.9)
XYZxyz(5.5579, 3.0251, 11.1154)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F155F #255F15
analogous
#2A155F #4F155F #5F154A
triadic
#4F155F #5F4F15 #155F4F
tetradic
#4F155F #5F2A15 #255F15 #154A5F
square
#4F155F #5F2A15 #255F15 #154A5F
split-complementary
#4F155F #4A5F15 #155F2A
monochromatic
#150619 #250A2D #4F155F #792091 #A22BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F155F#FFFFFF#000000##FFFFFF
##4F155F1.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)
#002D61
Deuteranopia (green-blind)
#18325D
Tritanopia (blue-blind)
#4E2439
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f155f;
/* rgb */ color: rgb(79, 21, 95);
/* oklch */ color: oklch(32.8% 0.131 317.9);
Tailwind
colors: {
  custom: {
    50: '#83598d',
    500: '#4f155f',
    950: '#000000',
  },
}
SCSS
$custom: #4f155f;
$custom-light: #83598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f155f",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 287.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.13057,
    "h": 317.9
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#4F155F
secondary
#4E963A
accent
#E74165
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F155F

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

Preview Lab → · Contrast checker → · Palette generator →

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