#4F1351#4F1351

#4F1351 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.120 H 326.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1351
RGBrgb(79, 19, 81)
HSLhsl(298, 62%, 20%)
HSVhsv(298, 77%, 32%)
CMYKcmyk(2.5%, 76.5%, 0%, 68.2%)
CIE-LABlab(18.90, 36.21, -23.77)
CIE-LCHlch(18.90, 43.32, 326.72°)
OKLaboklab(31.65% 0.0999 -0.0659)
OKLCHoklch(31.65% 0.12 326.6)
XYZxyz(4.9424, 2.7224, 8.0481)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1351 #155113
analogous
#301351 #4F1351 #511334
triadic
#4F1351 #514F13 #13514F
tetradic
#4F1351 #513013 #155113 #133451
square
#4F1351 #513013 #155113 #133451
split-complementary
#4F1351 #345113 #135130
monochromatic
#180619 #1F071F #4F1351 #7F1F83 #B02AB4

Accessibility & contrast

On white

13.60
#4F1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1351
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1351#FFFFFF#000000##FFFFFF
##4F13511.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062953
Deuteranopia (green-blind)
#21314F
Tritanopia (blue-blind)
#511D30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1351;
/* rgb */ color: rgb(79, 19, 81);
/* oklch */ color: oklch(31.6% 0.120 326.6);
Tailwind
colors: {
  custom: {
    50: '#835782',
    500: '#4f1351',
    950: '#000000',
  },
}
SCSS
$custom: #4f1351;
$custom-light: #835782;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1351",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 298.065,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.11972,
    "h": 326.6
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#4F1351
secondary
#398A36
accent
#E54348
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1351

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

Preview Lab → · Contrast checker → · Palette generator →

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