#4F1568#4F1568

#4F1568 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.140 H 313.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#4F1568
RGBrgb(79, 21, 104)
HSLhsl(282, 66%, 25%)
HSVhsv(282, 80%, 41%)
CMYKcmyk(24%, 79.8%, 0%, 59.2%)
CIE-LABlab(20.82, 40.27, -35.99)
CIE-LCHlch(20.82, 54.01, 318.22°)
OKLaboklab(33.54% 0.0956 -0.1017)
OKLCHoklch(33.54% 0.14 313.2)
XYZxyz(5.9909, 3.1983, 13.3958)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1568 #2E6815
analogous
#261568 #4F1568 #681558
triadic
#4F1568 #684F15 #15684F
tetradic
#4F1568 #682615 #2E6815 #155868
square
#4F1568 #682615 #2E6815 #155868
split-complementary
#4F1568 #586815 #156826
monochromatic
#130519 #280B35 #4F1568 #761F9B #9C2ACE

Accessibility & contrast

On white

12.81
#4F1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1568
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1568#FFFFFF#000000##FFFFFF
##4F15681.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#0C3366
Tritanopia (blue-blind)
#4C283E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1568;
/* rgb */ color: rgb(79, 21, 104);
/* oklch */ color: oklch(33.5% 0.140 313.2);
Tailwind
colors: {
  custom: {
    50: '#845994',
    500: '#4f1568',
    950: '#000000',
  },
}
SCSS
$custom: #4f1568;
$custom-light: #845994;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1568",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 281.928,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.13957,
    "h": 313.2
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#4F1568
secondary
#589F3A
accent
#E93E72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1568

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

Preview Lab → · Contrast checker → · Palette generator →

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