#4F1561#4F1561

#4F1561 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.133 H 316.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#4F1561
RGBrgb(79, 21, 97)
HSLhsl(286, 64%, 23%)
HSVhsv(286, 78%, 38%)
CMYKcmyk(18.6%, 78.4%, 0%, 62%)
CIE-LABlab(20.29, 38.71, -32.24)
CIE-LCHlch(20.29, 50.38, 320.21°)
OKLaboklab(33% 0.0967 -0.0907)
OKLCHoklch(33% 0.133 316.8)
XYZxyz(5.6500, 3.0619, 11.6003)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1561 #276115
analogous
#291561 #4F1561 #61154D
triadic
#4F1561 #614F15 #15614F
tetradic
#4F1561 #612915 #276115 #154D61
square
#4F1561 #612915 #276115 #154D61
split-complementary
#4F1561 #4D6115 #156129
monochromatic
#140519 #260A2F #4F1561 #782093 #A12BC6

Accessibility & contrast

On white

13.02
#4F1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1561
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1561#FFFFFF#000000##FFFFFF
##4F15611.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#16335F
Tritanopia (blue-blind)
#4E253A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1561;
/* rgb */ color: rgb(79, 21, 97);
/* oklch */ color: oklch(33.0% 0.133 316.8);
Tailwind
colors: {
  custom: {
    50: '#83598e',
    500: '#4f1561',
    950: '#000000',
  },
}
SCSS
$custom: #4f1561;
$custom-light: #83598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1561",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 285.789,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.13256,
    "h": 316.8
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#4F1561
secondary
#50983A
accent
#E74068
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1561

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

Preview Lab → · Contrast checker → · Palette generator →

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