#4F124F#4F124F

#4F124F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.119 H 328.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4F124F
RGBrgb(79, 18, 79)
HSLhsl(300, 63%, 19%)
HSVhsv(300, 77%, 31%)
CMYKcmyk(0%, 77.2%, 0%, 69%)
CIE-LABlab(18.63, 36.23, -22.84)
CIE-LCHlch(18.63, 42.83, 327.77°)
OKLaboklab(31.42% 0.1011 -0.0632)
OKLCHoklch(31.42% 0.119 328)
XYZxyz(4.8520, 2.6597, 7.6534)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124F #124F12
analogous
#31124F #4F124F #4F1231
triadic
#4F124F #4F4F12 #124F4F
tetradic
#4F124F #4F3112 #124F12 #12314F
square
#4F124F #4F3112 #124F12 #12314F
split-complementary
#4F124F #314F12 #124F31
monochromatic
#190619 #1D071D #4F124F #811D81 #B329B3

Accessibility & contrast

On white

13.71
#4F124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F124F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124F#FFFFFF#000000##FFFFFF
##4F124F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#521B2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124f;
/* rgb */ color: rgb(79, 18, 79);
/* oklch */ color: oklch(31.4% 0.119 328.0);
Tailwind
colors: {
  custom: {
    50: '#835780',
    500: '#4f124f',
    950: '#000000',
  },
}
SCSS
$custom: #4f124f;
$custom-light: #835780;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124f",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.11921,
    "h": 328
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#4F124F
secondary
#358835
accent
#E64242
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F124F

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

Preview Lab → · Contrast checker → · Palette generator →

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