#4F1060#4F1060

#4F1060 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.137 H 317.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4F1060
RGBrgb(79, 16, 96)
HSLhsl(287, 71%, 22%)
HSVhsv(287, 83%, 38%)
CMYKcmyk(17.7%, 83.3%, 0%, 62.4%)
CIE-LABlab(19.55, 40.42, -32.78)
CIE-LCHlch(19.55, 52.04, 320.96°)
OKLaboklab(32.45% 0.1017 -0.0923)
OKLCHoklch(32.45% 0.137 317.8)
XYZxyz(5.5208, 2.8776, 11.3287)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1060 #216010
analogous
#271060 #4F1060 #601049
triadic
#4F1060 #604F10 #10604F
tetradic
#4F1060 #602710 #216010 #104960
square
#4F1060 #602710 #216010 #104960
split-complementary
#4F1060 #496010 #106027
monochromatic
#16041A #24072C #4F1060 #7A1994 #A521C9

Accessibility & contrast

On white

13.33
#4F1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1060
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1060#FFFFFF#000000##FFFFFF
##4F10601.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#13315E
Tritanopia (blue-blind)
#4E2238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1060;
/* rgb */ color: rgb(79, 16, 96);
/* oklch */ color: oklch(32.4% 0.137 317.8);
Tailwind
colors: {
  custom: {
    50: '#84578e',
    500: '#4f1060',
    950: '#000000',
  },
}
SCSS
$custom: #4f1060;
$custom-light: #84578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1060",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 287.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.13733,
    "h": 317.8
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#4F1060
secondary
#499933
accent
#EE3A60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F1060

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

Preview Lab → · Contrast checker → · Palette generator →

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