#4F1764#4F1764

#4F1764 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.133 H 315.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#4F1764
RGBrgb(79, 23, 100)
HSLhsl(284, 63%, 24%)
HSVhsv(284, 77%, 39%)
CMYKcmyk(21%, 77%, 0%, 60.8%)
CIE-LABlab(20.81, 38.53, -33.38)
CIE-LCHlch(20.81, 50.98, 319.10°)
OKLaboklab(33.44% 0.0941 -0.0941)
OKLCHoklch(33.44% 0.133 315)
XYZxyz(5.8307, 3.1954, 12.3637)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1764 #2C6417
analogous
#291764 #4F1764 #641753
triadic
#4F1764 #644F17 #17644F
tetradic
#4F1764 #642917 #2C6417 #175364
square
#4F1764 #642917 #2C6417 #175364
split-complementary
#4F1764 #536417 #176429
monochromatic
#140619 #280C32 #4F1764 #762296 #9E2EC8

Accessibility & contrast

On white

12.81
#4F1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1764
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1764#FFFFFF#000000##FFFFFF
##4F17641.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#143362
Tritanopia (blue-blind)
#4D273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1764;
/* rgb */ color: rgb(79, 23, 100);
/* oklch */ color: oklch(33.4% 0.133 315.0);
Tailwind
colors: {
  custom: {
    50: '#835a91',
    500: '#4f1764',
    950: '#000000',
  },
}
SCSS
$custom: #4f1764;
$custom-light: #835a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1764",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 283.636,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33438,
    "c": 0.13307,
    "h": 315
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#4F1764
secondary
#569A3C
accent
#E6426F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1764

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

Preview Lab → · Contrast checker → · Palette generator →

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