#4F184F#4F184F

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

Color values

HEX#4F184F
RGBrgb(79, 24, 79)
HSLhsl(300, 53%, 20%)
HSVhsv(300, 70%, 31%)
CMYKcmyk(0%, 69.6%, 0%, 69%)
CIE-LABlab(19.56, 33.61, -21.36)
CIE-LCHlch(19.56, 39.82, 327.56°)
OKLaboklab(32.09% 0.0936 -0.059)
OKLCHoklch(32.09% 0.111 327.8)
XYZxyz(4.9623, 2.8804, 7.6902)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F184F #184F18
analogous
#33184F #4F184F #4F1833
triadic
#4F184F #4F4F18 #184F4F
tetradic
#4F184F #4F3318 #184F18 #18334F
square
#4F184F #4F3318 #184F18 #18334F
split-complementary
#4F184F #334F18 #184F33
monochromatic
#170717 #200A20 #4F184F #7E267E #AD35AD

Accessibility & contrast

On white

13.32
#4F184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F184F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F184F#FFFFFF#000000##FFFFFF
##4F184F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#25324E
Tritanopia (blue-blind)
#521F31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f184f;
/* rgb */ color: rgb(79, 24, 79);
/* oklch */ color: oklch(32.1% 0.111 327.8);
Tailwind
colors: {
  custom: {
    50: '#825a80',
    500: '#4f184f',
    950: '#000000',
  },
}
SCSS
$custom: #4f184f;
$custom-light: #825a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4f184f",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.11069,
    "h": 327.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#4F184F
secondary
#3D863D
accent
#DD4B4B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F184F

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

Preview Lab → · Contrast checker → · Palette generator →

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