#4F155C#4F155C

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

Color values

HEX#4F155C
RGBrgb(79, 21, 92)
HSLhsl(289, 63%, 22%)
HSVhsv(289, 77%, 36%)
CMYKcmyk(14.1%, 77.2%, 0%, 63.9%)
CIE-LABlab(19.93, 37.63, -29.51)
CIE-LCHlch(19.93, 47.82, 321.90°)
OKLaboklab(32.63% 0.0972 -0.0827)
OKLCHoklch(32.63% 0.128 319.6)
XYZxyz(5.4241, 2.9716, 10.4110)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F155C #225C15
analogous
#2C155C #4F155C #5C1546
triadic
#4F155C #5C4F15 #155C4F
tetradic
#4F155C #5C2C15 #225C15 #15465C
square
#4F155C #5C2C15 #225C15 #15465C
split-complementary
#4F155C #465C15 #155C2C
monochromatic
#150619 #240A2A #4F155C #7A208E #A52CC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F155C#FFFFFF#000000##FFFFFF
##4F155C1.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)
#002C5E
Deuteranopia (green-blind)
#1B325A
Tritanopia (blue-blind)
#4F2337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f155c;
/* rgb */ color: rgb(79, 21, 92);
/* oklch */ color: oklch(32.6% 0.128 319.6);
Tailwind
colors: {
  custom: {
    50: '#83598a',
    500: '#4f155c',
    950: '#000000',
  },
}
SCSS
$custom: #4f155c;
$custom-light: #83598a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f155c",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 289.014,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.12761,
    "h": 319.6
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#4F155C
secondary
#4A9339
accent
#E64260
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F155C

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

Preview Lab → · Contrast checker → · Palette generator →

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