#4F1950#4F1950

#4F1950 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.110 H 327.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#4F1950
RGBrgb(79, 25, 80)
HSLhsl(299, 52%, 21%)
HSVhsv(299, 69%, 31%)
CMYKcmyk(1.2%, 68.8%, 0%, 68.6%)
CIE-LABlab(19.79, 33.33, -21.68)
CIE-LCHlch(19.79, 39.76, 326.96°)
OKLaboklab(32.27% 0.0924 -0.0599)
OKLCHoklch(32.27% 0.11 327)
XYZxyz(5.0200, 2.9370, 7.8904)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1950 #1A5019
analogous
#331950 #4F1950 #501935
triadic
#4F1950 #504F19 #19504F
tetradic
#4F1950 #503319 #1A5019 #193550
square
#4F1950 #503319 #1A5019 #193550
split-complementary
#4F1950 #355019 #195033
monochromatic
#170717 #210A21 #4F1950 #7D287F #AB36AD

Accessibility & contrast

On white

13.23
#4F1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1950
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1950#FFFFFF#000000##FFFFFF
##4F19501.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#25324F
Tritanopia (blue-blind)
#512032
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1950;
/* rgb */ color: rgb(79, 25, 80);
/* oklch */ color: oklch(32.3% 0.110 327.0);
Tailwind
colors: {
  custom: {
    50: '#825a81',
    500: '#4f1950',
    950: '#000000',
  },
}
SCSS
$custom: #4f1950;
$custom-light: #825a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1950",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 298.909,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32274,
    "c": 0.1101,
    "h": 327
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#4F1950
secondary
#40863E
accent
#DC4C4F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1950

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

Preview Lab → · Contrast checker → · Palette generator →

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