#4F1563#4F1563

#4F1563 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.135 H 315.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4F1563
RGBrgb(79, 21, 99)
HSLhsl(285, 65%, 24%)
HSVhsv(285, 79%, 39%)
CMYKcmyk(20.2%, 78.8%, 0%, 61.2%)
CIE-LABlab(20.44, 39.15, -33.32)
CIE-LCHlch(20.44, 51.41, 319.60°)
OKLaboklab(33.15% 0.0964 -0.0939)
OKLCHoklch(33.15% 0.135 315.7)
XYZxyz(5.7444, 3.0997, 12.0977)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1563 #296315
analogous
#281563 #4F1563 #631550
triadic
#4F1563 #634F15 #15634F
tetradic
#4F1563 #632815 #296315 #155063
square
#4F1563 #632815 #296315 #155063
split-complementary
#4F1563 #506315 #156328
monochromatic
#140519 #270A31 #4F1563 #772095 #A02AC8

Accessibility & contrast

On white

12.96
#4F1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1563
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1563#FFFFFF#000000##FFFFFF
##4F15631.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#133361
Tritanopia (blue-blind)
#4E263B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1563;
/* rgb */ color: rgb(79, 21, 99);
/* oklch */ color: oklch(33.2% 0.135 315.7);
Tailwind
colors: {
  custom: {
    50: '#835990',
    500: '#4f1563',
    950: '#000000',
  },
}
SCSS
$custom: #4f1563;
$custom-light: #835990;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1563",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 284.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33151,
    "c": 0.13456,
    "h": 315.7
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#4F1563
secondary
#529A3A
accent
#E8406B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1563

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

Preview Lab → · Contrast checker → · Palette generator →

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