#4F124B#4F124B

#4F124B is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.116 H 330.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4F124B
RGBrgb(79, 18, 75)
HSLhsl(304, 63%, 19%)
HSVhsv(304, 77%, 31%)
CMYKcmyk(0%, 77.2%, 5.1%, 69%)
CIE-LABlab(18.38, 35.48, -20.50)
CIE-LCHlch(18.38, 40.97, 329.98°)
OKLaboklab(31.16% 0.1009 -0.0565)
OKLCHoklch(31.16% 0.116 330.8)
XYZxyz(4.7107, 2.6032, 6.9096)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124B #124F16
analogous
#35124F #4F124B #4F122D
triadic
#4F124B #4B4F12 #124B4F
tetradic
#4F124B #4F3512 #124F16 #122D4F
square
#4F124B #4F3512 #124F16 #122D4F
split-complementary
#4F124B #2D4F12 #124F35
monochromatic
#190618 #1D071C #4F124B #811D7A #B329AA

Accessibility & contrast

On white

13.81
#4F124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F124B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124B#FFFFFF#000000##FFFFFF
##4F124B1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274D
Deuteranopia (green-blind)
#243049
Tritanopia (blue-blind)
#52192D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124b;
/* rgb */ color: rgb(79, 18, 75);
/* oklch */ color: oklch(31.2% 0.116 330.8);
Tailwind
colors: {
  custom: {
    50: '#83577d',
    500: '#4f124b',
    950: '#000000',
  },
}
SCSS
$custom: #4f124b;
$custom-light: #83577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124b",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 303.934,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.11564,
    "h": 330.8
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#4F124B
secondary
#35883A
accent
#E64D42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F124B

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

Preview Lab → · Contrast checker → · Palette generator →

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