#4F1357#4F1357

#4F1357 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.125 H 322.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4F1357
RGBrgb(79, 19, 87)
HSLhsl(293, 64%, 21%)
HSVhsv(293, 78%, 34%)
CMYKcmyk(9.2%, 78.2%, 0%, 65.9%)
CIE-LABlab(19.29, 37.41, -27.18)
CIE-LCHlch(19.29, 46.25, 324.00°)
OKLaboklab(32.06% 0.0998 -0.0759)
OKLCHoklch(32.06% 0.125 322.7)
XYZxyz(5.1775, 2.8164, 9.2859)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1357 #1B5713
analogous
#2D1357 #4F1357 #57133D
triadic
#4F1357 #574F13 #13574F
tetradic
#4F1357 #572D13 #1B5713 #133D57
square
#4F1357 #572D13 #1B5713 #133D57
split-complementary
#4F1357 #3D5713 #13572D
monochromatic
#170519 #210825 #4F1357 #7D1E89 #AA29BB

Accessibility & contrast

On white

13.43
#4F1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F1357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1357
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1357#FFFFFF#000000##FFFFFF
##4F13571.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#1D3155
Tritanopia (blue-blind)
#501F34
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1357;
/* rgb */ color: rgb(79, 19, 87);
/* oklch */ color: oklch(32.1% 0.125 322.7);
Tailwind
colors: {
  custom: {
    50: '#835887',
    500: '#4f1357',
    950: '#000000',
  },
}
SCSS
$custom: #4f1357;
$custom-light: #835887;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1357",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 292.941,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.12534,
    "h": 322.7
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#4F1357
secondary
#418F36
accent
#E74154
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1357

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

Preview Lab → · Contrast checker → · Palette generator →

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