#4F1558#4F1558

#4F1558 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.124 H 322.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4F1558
RGBrgb(79, 21, 88)
HSLhsl(292, 61%, 21%)
HSVhsv(292, 76%, 35%)
CMYKcmyk(10.2%, 76.1%, 0%, 65.5%)
CIE-LABlab(19.65, 36.79, -27.28)
CIE-LCHlch(19.65, 45.80, 323.44°)
OKLaboklab(32.34% 0.0975 -0.0762)
OKLCHoklch(32.34% 0.124 322)
XYZxyz(5.2539, 2.9035, 9.5143)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1558 #1E5815
analogous
#2E1558 #4F1558 #581540
triadic
#4F1558 #584F15 #15584F
tetradic
#4F1558 #582E15 #1E5815 #154058
square
#4F1558 #582E15 #1E5815 #154058
split-complementary
#4F1558 #405815 #15582E
monochromatic
#160619 #230927 #4F1558 #7B2189 #A82DBB

Accessibility & contrast

On white

13.29
#4F1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1558
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1558#FFFFFF#000000##FFFFFF
##4F15581.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#1E3256
Tritanopia (blue-blind)
#502135
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1558;
/* rgb */ color: rgb(79, 21, 88);
/* oklch */ color: oklch(32.3% 0.124 322.0);
Tailwind
colors: {
  custom: {
    50: '#835987',
    500: '#4f1558',
    950: '#000000',
  },
}
SCSS
$custom: #4f1558;
$custom-light: #835987;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1558",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 291.94,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.12371,
    "h": 322
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#4F1558
secondary
#459039
accent
#E54359
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1558

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

Preview Lab → · Contrast checker → · Palette generator →

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