#4F1B60#4F1B60

#4F1B60 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.123 H 316.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4F1B60
RGBrgb(79, 27, 96)
HSLhsl(285, 56%, 24%)
HSVhsv(285, 72%, 38%)
CMYKcmyk(17.7%, 71.9%, 0%, 62.4%)
CIE-LABlab(21.17, 35.80, -30.17)
CIE-LCHlch(21.17, 46.81, 319.88°)
OKLaboklab(33.61% 0.0898 -0.0847)
OKLCHoklch(33.61% 0.123 316.7)
XYZxyz(5.7274, 3.2909, 11.3976)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B60 #2C601B
analogous
#2D1B60 #4F1B60 #601B4F
triadic
#4F1B60 #604F1B #1B604F
tetradic
#4F1B60 #602D1B #2C601B #1B4F60
square
#4F1B60 #602D1B #2C601B #1B4F60
split-complementary
#4F1B60 #4F601B #1B602D
monochromatic
#140718 #280E30 #4F1B60 #762890 #9E36C0

Accessibility & contrast

On white

12.66
#4F1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B60
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B60#FFFFFF#000000##FFFFFF
##4F1B601.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#1C345E
Tritanopia (blue-blind)
#4E283B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1b60;
/* rgb */ color: rgb(79, 27, 96);
/* oklch */ color: oklch(33.6% 0.123 316.7);
Tailwind
colors: {
  custom: {
    50: '#835c8d',
    500: '#4f1b60',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b60;
$custom-light: #835c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b60",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 285.217,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.12343,
    "h": 316.7
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#4F1B60
secondary
#569641
accent
#DF486E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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