#4F124C#4F124C

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

Color values

HEX#4F124C
RGBrgb(79, 18, 76)
HSLhsl(303, 63%, 19%)
HSVhsv(303, 77%, 31%)
CMYKcmyk(0%, 77.2%, 3.8%, 69%)
CIE-LABlab(18.44, 35.66, -21.09)
CIE-LCHlch(18.44, 41.43, 329.40°)
OKLaboklab(31.22% 0.101 -0.0582)
OKLCHoklch(31.22% 0.117 330.1)
XYZxyz(4.7452, 2.6170, 7.0913)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F124C #124F15
analogous
#34124F #4F124C #4F122E
triadic
#4F124C #4C4F12 #124C4F
tetradic
#4F124C #4F3412 #124F15 #122E4F
square
#4F124C #4F3412 #124F15 #122E4F
split-complementary
#4F124C #2E4F12 #124F34
monochromatic
#190618 #1D071C #4F124C #811D7C #B329AC

Accessibility & contrast

On white

13.78
#4F124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F124C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F124C#FFFFFF#000000##FFFFFF
##4F124C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284E
Deuteranopia (green-blind)
#24304A
Tritanopia (blue-blind)
#521A2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f124c;
/* rgb */ color: rgb(79, 18, 76);
/* oklch */ color: oklch(31.2% 0.117 330.1);
Tailwind
colors: {
  custom: {
    50: '#83577e',
    500: '#4f124c',
    950: '#000000',
  },
}
SCSS
$custom: #4f124c;
$custom-light: #83577e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f124c",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 302.951,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.11653,
    "h": 330.1
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#4F124C
secondary
#358839
accent
#E64A42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F124C

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

Preview Lab → · Contrast checker → · Palette generator →

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