#4F1552#4F1552

#4F1552 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.118 H 325.8°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4F1552
RGBrgb(79, 21, 82)
HSLhsl(297, 59%, 20%)
HSVhsv(297, 74%, 32%)
CMYKcmyk(3.7%, 74.4%, 0%, 67.8%)
CIE-LABlab(19.26, 35.56, -23.87)
CIE-LCHlch(19.26, 42.83, 326.13°)
OKLaboklab(31.93% 0.0976 -0.0663)
OKLCHoklch(31.93% 0.118 325.8)
XYZxyz(5.0155, 2.8081, 8.2589)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1552 #185215
analogous
#301552 #4F1552 #521536
triadic
#4F1552 #524F15 #15524F
tetradic
#4F1552 #523015 #185215 #153652
square
#4F1552 #523015 #185215 #153652
split-complementary
#4F1552 #365215 #155230
monochromatic
#170618 #200921 #4F1552 #7E2183 #AD2EB3

Accessibility & contrast

On white

13.45
#4F1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F1552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1552
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1552#FFFFFF#000000##FFFFFF
##4F15521.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#511E31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1552;
/* rgb */ color: rgb(79, 21, 82);
/* oklch */ color: oklch(31.9% 0.118 325.8);
Tailwind
colors: {
  custom: {
    50: '#835883',
    500: '#4f1552',
    950: '#000000',
  },
}
SCSS
$custom: #4f1552;
$custom-light: #835883;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1552",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 297.049,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.11794,
    "h": 325.8
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#4F1552
secondary
#3D8A39
accent
#E2454D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1552

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

Preview Lab → · Contrast checker → · Palette generator →

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