#4F1850#4F1850

#4F1850 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.112 H 327.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4F1850
RGBrgb(79, 24, 80)
HSLhsl(299, 54%, 20%)
HSVhsv(299, 70%, 31%)
CMYKcmyk(1.2%, 70%, 0%, 68.6%)
CIE-LABlab(19.62, 33.81, -21.95)
CIE-LCHlch(19.62, 40.31, 327.01°)
OKLaboklab(32.15% 0.0937 -0.0607)
OKLCHoklch(32.15% 0.112 327.1)
XYZxyz(4.9990, 2.8950, 7.8834)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1850 #195018
analogous
#331850 #4F1850 #501835
triadic
#4F1850 #504F18 #18504F
tetradic
#4F1850 #503318 #195018 #183550
square
#4F1850 #503318 #195018 #183550
split-complementary
#4F1850 #355018 #185033
monochromatic
#170718 #210A21 #4F1850 #7D267F #AC34AE

Accessibility & contrast

On white

13.30
#4F1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1850
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1850#FFFFFF#000000##FFFFFF
##4F18501.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B52
Deuteranopia (green-blind)
#25324F
Tritanopia (blue-blind)
#512031
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1850;
/* rgb */ color: rgb(79, 24, 80);
/* oklch */ color: oklch(32.1% 0.112 327.1);
Tailwind
colors: {
  custom: {
    50: '#835a81',
    500: '#4f1850',
    950: '#000000',
  },
}
SCSS
$custom: #4f1850;
$custom-light: #835a81;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1850",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 298.929,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3215,
    "c": 0.11165,
    "h": 327.1
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#4F1850
secondary
#3E873D
accent
#DD4B4D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1850

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

Preview Lab → · Contrast checker → · Palette generator →

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