#4F124A#4F124A

#4F124A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.115 H 331.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#4F124A
RGBrgb(79, 18, 74)
HSLhsl(305, 63%, 19%)
HSVhsv(305, 77%, 31%)
CMYKcmyk(0%, 77.2%, 6.3%, 69%)
CIE-LABlab(18.32, 35.29, -19.91)
CIE-LCHlch(18.32, 40.52, 330.57°)
OKLaboklab(31.1% 0.1009 -0.0548)
OKLCHoklch(31.1% 0.115 331.5)
XYZxyz(4.6768, 2.5897, 6.7308)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124A #124F17
analogous
#36124F #4F124A #4F122C
triadic
#4F124A #4A4F12 #124A4F
tetradic
#4F124A #4F3612 #124F17 #122C4F
square
#4F124A #4F3612 #124F17 #122C4F
split-complementary
#4F124A #2C4F12 #124F36
monochromatic
#190617 #1D071B #4F124A #811D79 #B329A7

Accessibility & contrast

On white

13.84
#4F124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F124A
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124A#FFFFFF#000000##FFFFFF
##4F124A1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274C
Deuteranopia (green-blind)
#253048
Tritanopia (blue-blind)
#53192C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124a;
/* rgb */ color: rgb(79, 18, 74);
/* oklch */ color: oklch(31.1% 0.115 331.5);
Tailwind
colors: {
  custom: {
    50: '#83577d',
    500: '#4f124a',
    950: '#000000',
  },
}
SCSS
$custom: #4f124a;
$custom-light: #83577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124a",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 304.918,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.11478,
    "h": 331.5
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#4F124A
secondary
#35883C
accent
#E64F42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F124A

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

Preview Lab → · Contrast checker → · Palette generator →

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