#4F124E#4F124E

#4F124E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.4% C 0.118 H 328.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4F124E
RGBrgb(79, 18, 78)
HSLhsl(301, 63%, 19%)
HSVhsv(301, 77%, 31%)
CMYKcmyk(0%, 77.2%, 1.3%, 69%)
CIE-LABlab(18.56, 36.04, -22.26)
CIE-LCHlch(18.56, 42.36, 328.30°)
OKLaboklab(31.35% 0.101 -0.0616)
OKLCHoklch(31.35% 0.118 328.6)
XYZxyz(4.8159, 2.6453, 7.4632)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124E #124F13
analogous
#32124F #4F124E #4F1230
triadic
#4F124E #4E4F12 #124E4F
tetradic
#4F124E #4F3212 #124F13 #12304F
square
#4F124E #4F3212 #124F13 #12304F
split-complementary
#4F124E #304F12 #124F32
monochromatic
#190619 #1D071D #4F124E #811D7F #B329B0

Accessibility & contrast

On white

13.73
#4F124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F124E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124E#FFFFFF#000000##FFFFFF
##4F124E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#23304C
Tritanopia (blue-blind)
#521B2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124e;
/* rgb */ color: rgb(79, 18, 78);
/* oklch */ color: oklch(31.4% 0.118 328.6);
Tailwind
colors: {
  custom: {
    50: '#835780',
    500: '#4f124e',
    950: '#000000',
  },
}
SCSS
$custom: #4f124e;
$custom-light: #835780;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124e",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 300.984,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.11832,
    "h": 328.6
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#4F124E
secondary
#358836
accent
#E64542
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F124E

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

Preview Lab → · Contrast checker → · Palette generator →

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