#4F1759#4F1759

#4F1759 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.122 H 321.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4F1759
RGBrgb(79, 23, 89)
HSLhsl(291, 59%, 22%)
HSVhsv(291, 74%, 35%)
CMYKcmyk(11.2%, 74.2%, 0%, 65.1%)
CIE-LABlab(20.03, 36.12, -27.35)
CIE-LCHlch(20.03, 45.31, 322.87°)
OKLaboklab(32.63% 0.0951 -0.0764)
OKLCHoklch(32.63% 0.122 321.2)
XYZxyz(5.3338, 2.9966, 9.7467)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1759 #215917
analogous
#2E1759 #4F1759 #591742
triadic
#4F1759 #594F17 #17594F
tetradic
#4F1759 #592E17 #215917 #174259
square
#4F1759 #592E17 #215917 #174259
split-complementary
#4F1759 #425917 #17592E
monochromatic
#160618 #240A28 #4F1759 #7A248A #A530BA

Accessibility & contrast

On white

13.13
#4F1759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F1759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1759
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1759#FFFFFF#000000##FFFFFF
##4F17591.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5B
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#502336
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1759;
/* rgb */ color: rgb(79, 23, 89);
/* oklch */ color: oklch(32.6% 0.122 321.2);
Tailwind
colors: {
  custom: {
    50: '#835a88',
    500: '#4f1759',
    950: '#000000',
  },
}
SCSS
$custom: #4f1759;
$custom-light: #835a88;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1759",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 290.909,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.12195,
    "h": 321.2
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#4F1759
secondary
#49903C
accent
#E2465D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1759

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

Preview Lab → · Contrast checker → · Palette generator →

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