#4F1565#4F1565

#4F1565 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.137 H 314.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4F1565
RGBrgb(79, 21, 101)
HSLhsl(284, 66%, 24%)
HSVhsv(284, 79%, 40%)
CMYKcmyk(21.8%, 79.2%, 0%, 60.4%)
CIE-LABlab(20.59, 39.60, -34.40)
CIE-LCHlch(20.59, 52.45, 319.02°)
OKLaboklab(33.31% 0.0961 -0.097)
OKLCHoklch(33.31% 0.137 314.7)
XYZxyz(5.8412, 3.1384, 12.6075)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1565 #2B6515
analogous
#271565 #4F1565 #651553
triadic
#4F1565 #654F15 #15654F
tetradic
#4F1565 #652715 #2B6515 #155365
square
#4F1565 #652715 #2B6515 #155365
split-complementary
#4F1565 #536515 #156527
monochromatic
#140519 #270A32 #4F1565 #772098 #9E2ACA

Accessibility & contrast

On white

12.90
#4F1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1565
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1565#FFFFFF#000000##FFFFFF
##4F15651.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#113363
Tritanopia (blue-blind)
#4D273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1565;
/* rgb */ color: rgb(79, 21, 101);
/* oklch */ color: oklch(33.3% 0.137 314.7);
Tailwind
colors: {
  custom: {
    50: '#845991',
    500: '#4f1565',
    950: '#000000',
  },
}
SCSS
$custom: #4f1565;
$custom-light: #845991;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1565",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 283.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.13655,
    "h": 314.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#4F1565
secondary
#559C3A
accent
#E93F6E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1565

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

Preview Lab → · Contrast checker → · Palette generator →

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