#4F124D#4F124D

#4F124D is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.117 H 329.3°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#4F124D
RGBrgb(79, 18, 77)
HSLhsl(302, 63%, 19%)
HSVhsv(302, 77%, 31%)
CMYKcmyk(0%, 77.2%, 2.5%, 69%)
CIE-LABlab(18.50, 35.85, -21.67)
CIE-LCHlch(18.50, 41.89, 328.84°)
OKLaboklab(31.29% 0.101 -0.0599)
OKLCHoklch(31.29% 0.117 329.3)
XYZxyz(4.7803, 2.6311, 7.2758)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124D #124F14
analogous
#33124F #4F124D #4F122F
triadic
#4F124D #4D4F12 #124D4F
tetradic
#4F124D #4F3312 #124F14 #122F4F
square
#4F124D #4F3312 #124F14 #122F4F
split-complementary
#4F124D #2F4F12 #124F33
monochromatic
#190618 #1D071C #4F124D #811D7E #B329AE

Accessibility & contrast

On white

13.76
#4F124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F124D
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124D#FFFFFF#000000##FFFFFF
##4F124D1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A284F
Deuteranopia (green-blind)
#23304B
Tritanopia (blue-blind)
#521A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124d;
/* rgb */ color: rgb(79, 18, 77);
/* oklch */ color: oklch(31.3% 0.117 329.3);
Tailwind
colors: {
  custom: {
    50: '#83577f',
    500: '#4f124d',
    950: '#000000',
  },
}
SCSS
$custom: #4f124d;
$custom-light: #83577f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124d",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 301.967,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31285,
    "c": 0.11741,
    "h": 329.3
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#4F124D
secondary
#358838
accent
#E64742
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F124D

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

Preview Lab → · Contrast checker → · Palette generator →

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