#4F1658#4F1658

#4F1658 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.122 H 321.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4F1658
RGBrgb(79, 22, 88)
HSLhsl(292, 60%, 22%)
HSVhsv(292, 75%, 35%)
CMYKcmyk(10.2%, 75%, 0%, 65.5%)
CIE-LABlab(19.81, 36.36, -27.04)
CIE-LCHlch(19.81, 45.31, 323.36°)
OKLaboklab(32.45% 0.0963 -0.0755)
OKLCHoklch(32.45% 0.122 321.9)
XYZxyz(5.2726, 2.9410, 9.5206)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1658 #1F5816
analogous
#2E1658 #4F1658 #581640
triadic
#4F1658 #584F16 #16584F
tetradic
#4F1658 #582E16 #1F5816 #164058
square
#4F1658 #582E16 #1F5816 #164058
split-complementary
#4F1658 #405816 #16582E
monochromatic
#160618 #230A27 #4F1658 #7B2289 #A72EBA

Accessibility & contrast

On white

13.22
#4F1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1658
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1658#FFFFFF#000000##FFFFFF
##4F16581.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5A
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#502235
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1658;
/* rgb */ color: rgb(79, 22, 88);
/* oklch */ color: oklch(32.5% 0.122 321.9);
Tailwind
colors: {
  custom: {
    50: '#835987',
    500: '#4f1658',
    950: '#000000',
  },
}
SCSS
$custom: #4f1658;
$custom-light: #835987;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1658",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 291.818,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.12235,
    "h": 321.9
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#4F1658
secondary
#468F3B
accent
#E3455A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1658

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

Preview Lab → · Contrast checker → · Palette generator →

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