#4F184B#4F184B

#4F184B is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.107 H 330.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4F184B
RGBrgb(79, 24, 75)
HSLhsl(304, 53%, 20%)
HSVhsv(304, 70%, 31%)
CMYKcmyk(0%, 69.6%, 5.1%, 69%)
CIE-LABlab(19.32, 32.83, -19.01)
CIE-LCHlch(19.32, 37.93, 329.92°)
OKLaboklab(31.84% 0.0933 -0.0522)
OKLCHoklch(31.84% 0.107 330.8)
XYZxyz(4.8211, 2.8239, 6.9464)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F184B #184F1C
analogous
#38184F #4F184B #4F182F
triadic
#4F184B #4B4F18 #184B4F
tetradic
#4F184B #4F3818 #184F1C #182F4F
square
#4F184B #4F3818 #184F1C #182F4F
split-complementary
#4F184B #2F4F18 #184F38
monochromatic
#170716 #200A1E #4F184B #7E2678 #AD35A4

Accessibility & contrast

On white

13.42
#4F184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F184B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F184B#FFFFFF#000000##FFFFFF
##4F184B1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#27324A
Tritanopia (blue-blind)
#521E2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f184b;
/* rgb */ color: rgb(79, 24, 75);
/* oklch */ color: oklch(31.8% 0.107 330.8);
Tailwind
colors: {
  custom: {
    50: '#825a7d',
    500: '#4f184b',
    950: '#000000',
  },
}
SCSS
$custom: #4f184b;
$custom-light: #825a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f184b",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 304.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.10692,
    "h": 330.8
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#4F184B
secondary
#3D8642
accent
#DD564B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F184B

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

Preview Lab → · Contrast checker → · Palette generator →

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