#4F1963#4F1963

#4F1963 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.129 H 315.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#4F1963
RGBrgb(79, 25, 99)
HSLhsl(284, 60%, 24%)
HSVhsv(284, 75%, 39%)
CMYKcmyk(20.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(21.05, 37.41, -32.34)
CIE-LCHlch(21.05, 49.45, 319.16°)
OKLaboklab(33.59% 0.092 -0.091)
OKLCHoklch(33.59% 0.129 315.3)
XYZxyz(5.8238, 3.2586, 12.1242)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1963 #2D6319
analogous
#2A1963 #4F1963 #631952
triadic
#4F1963 #634F19 #19634F
tetradic
#4F1963 #632A19 #2D6319 #195263
square
#4F1963 #632A19 #2D6319 #195263
split-complementary
#4F1963 #526319 #19632A
monochromatic
#130618 #280D32 #4F1963 #762594 #9D32C5

Accessibility & contrast

On white

12.71
#4F1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1963
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1963#FFFFFF#000000##FFFFFF
##4F19631.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#173461
Tritanopia (blue-blind)
#4D283C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1963;
/* rgb */ color: rgb(79, 25, 99);
/* oklch */ color: oklch(33.6% 0.129 315.3);
Tailwind
colors: {
  custom: {
    50: '#835b90',
    500: '#4f1963',
    950: '#000000',
  },
}
SCSS
$custom: #4f1963;
$custom-light: #835b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1963",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 283.784,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.1294,
    "h": 315.3
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#4F1963
secondary
#57993F
accent
#E34570
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1963

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

Preview Lab → · Contrast checker → · Palette generator →

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