#4F184C#4F184C

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

Color values

HEX#4F184C
RGBrgb(79, 24, 76)
HSLhsl(303, 53%, 20%)
HSVhsv(303, 70%, 31%)
CMYKcmyk(0%, 69.6%, 3.8%, 69%)
CIE-LABlab(19.38, 33.02, -19.60)
CIE-LCHlch(19.38, 38.40, 329.30°)
OKLaboklab(31.9% 0.0934 -0.0539)
OKLCHoklch(31.9% 0.108 330)
XYZxyz(4.8556, 2.8377, 7.1281)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F184C #184F1B
analogous
#37184F #4F184C #4F1830
triadic
#4F184C #4C4F18 #184C4F
tetradic
#4F184C #4F3718 #184F1B #18304F
square
#4F184C #4F3718 #184F1B #18304F
split-complementary
#4F184C #304F18 #184F37
monochromatic
#170717 #200A1F #4F184C #7E2679 #AD35A6

Accessibility & contrast

On white

13.40
#4F184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F184C
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F184C#FFFFFF#000000##FFFFFF
##4F184C1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#521E2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f184c;
/* rgb */ color: rgb(79, 24, 76);
/* oklch */ color: oklch(31.9% 0.108 330.0);
Tailwind
colors: {
  custom: {
    50: '#825a7e',
    500: '#4f184c',
    950: '#000000',
  },
}
SCSS
$custom: #4f184c;
$custom-light: #825a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f184c",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 303.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.10784,
    "h": 330
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#4F184C
secondary
#3D8641
accent
#DD534B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F184C

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

Preview Lab → · Contrast checker → · Palette generator →

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