#4F184D#4F184D

#4F184D is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.0% C 0.109 H 329.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#4F184D
RGBrgb(79, 24, 77)
HSLhsl(302, 53%, 20%)
HSVhsv(302, 70%, 31%)
CMYKcmyk(0%, 69.6%, 2.5%, 69%)
CIE-LABlab(19.44, 33.21, -20.19)
CIE-LCHlch(19.44, 38.87, 328.70°)
OKLaboklab(31.96% 0.0935 -0.0556)
OKLCHoklch(31.96% 0.109 329.2)
XYZxyz(4.8906, 2.8517, 7.3126)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F184D #184F1A
analogous
#35184F #4F184D #4F1831
triadic
#4F184D #4D4F18 #184D4F
tetradic
#4F184D #4F3518 #184F1A #18314F
square
#4F184D #4F3518 #184F1A #18314F
split-complementary
#4F184D #314F18 #184F35
monochromatic
#170717 #200A1F #4F184D #7E267B #AD35A9

Accessibility & contrast

On white

13.37
#4F184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F184D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F184D#FFFFFF#000000##FFFFFF
##4F184D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4F
Deuteranopia (green-blind)
#26324C
Tritanopia (blue-blind)
#521E30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f184d;
/* rgb */ color: rgb(79, 24, 77);
/* oklch */ color: oklch(32.0% 0.109 329.2);
Tailwind
colors: {
  custom: {
    50: '#825a7f',
    500: '#4f184d',
    950: '#000000',
  },
}
SCSS
$custom: #4f184d;
$custom-light: #825a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f184d",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 302.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31963,
    "c": 0.10879,
    "h": 329.2
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#4F184D
secondary
#3D8640
accent
#DD504B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F184D

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

Preview Lab → · Contrast checker → · Palette generator →

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