#4F1659#4F1659

#4F1659 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.123 H 321.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4F1659
RGBrgb(79, 22, 89)
HSLhsl(291, 60%, 22%)
HSVhsv(291, 75%, 35%)
CMYKcmyk(11.2%, 75.3%, 0%, 65.1%)
CIE-LABlab(19.87, 36.57, -27.60)
CIE-LCHlch(19.87, 45.81, 322.96°)
OKLaboklab(32.52% 0.0962 -0.0771)
OKLCHoklch(32.52% 0.123 321.3)
XYZxyz(5.3143, 2.9576, 9.7402)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1659 #205916
analogous
#2E1659 #4F1659 #591642
triadic
#4F1659 #594F16 #16594F
tetradic
#4F1659 #592E16 #205916 #164259
square
#4F1659 #592E16 #205916 #164259
split-complementary
#4F1659 #425916 #16592E
monochromatic
#160619 #230A28 #4F1659 #7B228A #A62EBB

Accessibility & contrast

On white

13.20
#4F1659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1659
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1659#FFFFFF#000000##FFFFFF
##4F16591.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1659;
/* rgb */ color: rgb(79, 22, 89);
/* oklch */ color: oklch(32.5% 0.123 321.3);
Tailwind
colors: {
  custom: {
    50: '#835988',
    500: '#4f1659',
    950: '#000000',
  },
}
SCSS
$custom: #4f1659;
$custom-light: #835988;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1659",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 291.045,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.12333,
    "h": 321.3
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#4F1659
secondary
#47903B
accent
#E4445C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1659

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

Preview Lab → · Contrast checker → · Palette generator →

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