#4F1555#4F1555

#4F1555 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.1% C 0.121 H 323.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#4F1555
RGBrgb(79, 21, 85)
HSLhsl(294, 60%, 21%)
HSVhsv(294, 75%, 33%)
CMYKcmyk(7.1%, 75.3%, 0%, 66.7%)
CIE-LABlab(19.45, 36.17, -25.59)
CIE-LCHlch(19.45, 44.30, 324.73°)
OKLaboklab(32.13% 0.0976 -0.0713)
OKLCHoklch(32.13% 0.121 323.9)
XYZxyz(5.1322, 2.8548, 8.8733)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1555 #1B5515
analogous
#2F1555 #4F1555 #55153B
triadic
#4F1555 #554F15 #15554F
tetradic
#4F1555 #552F15 #1B5515 #153B55
square
#4F1555 #552F15 #1B5515 #153B55
split-complementary
#4F1555 #3B5515 #15552F
monochromatic
#170619 #210924 #4F1555 #7D2186 #AA2DB7

Accessibility & contrast

On white

13.37
#4F1555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F1555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1555
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1555#FFFFFF#000000##FFFFFF
##4F15551.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#203153
Tritanopia (blue-blind)
#512033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1555;
/* rgb */ color: rgb(79, 21, 85);
/* oklch */ color: oklch(32.1% 0.121 323.9);
Tailwind
colors: {
  custom: {
    50: '#835985',
    500: '#4f1555',
    950: '#000000',
  },
}
SCSS
$custom: #4f1555;
$custom-light: #835985;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1555",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 294.375,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.12081,
    "h": 323.9
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#4F1555
secondary
#418D39
accent
#E44453
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1555

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

Preview Lab → · Contrast checker → · Palette generator →

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