#4F1652#4F1652

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

Color values

HEX#4F1652
RGBrgb(79, 22, 82)
HSLhsl(297, 58%, 20%)
HSVhsv(297, 73%, 32%)
CMYKcmyk(3.7%, 73.2%, 0%, 67.8%)
CIE-LABlab(19.41, 35.12, -23.62)
CIE-LCHlch(19.41, 42.33, 326.08°)
OKLaboklab(32.04% 0.0963 -0.0655)
OKLCHoklch(32.04% 0.117 325.8)
XYZxyz(5.0342, 2.8456, 8.2651)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1652 #195216
analogous
#311652 #4F1652 #521637
triadic
#4F1652 #524F16 #16524F
tetradic
#4F1652 #523116 #195216 #163752
square
#4F1652 #523116 #195216 #163752
split-complementary
#4F1652 #375216 #165231
monochromatic
#170618 #210922 #4F1652 #7D2382 #AC30B3

Accessibility & contrast

On white

13.38
#4F1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F1652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1652
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1652#FFFFFF#000000##FFFFFF
##4F16521.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#511F32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1652;
/* rgb */ color: rgb(79, 22, 82);
/* oklch */ color: oklch(32.0% 0.117 325.8);
Tailwind
colors: {
  custom: {
    50: '#835983',
    500: '#4f1652',
    950: '#000000',
  },
}
SCSS
$custom: #4f1652;
$custom-light: #835983;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1652",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 297,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32043,
    "c": 0.11653,
    "h": 325.8
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#4F1652
secondary
#3E893A
accent
#E1474F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1652

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

Preview Lab → · Contrast checker → · Palette generator →

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