#4F135D#4F135D

#4F135D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.131 H 319.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4F135D
RGBrgb(79, 19, 93)
HSLhsl(289, 66%, 22%)
HSVhsv(289, 80%, 36%)
CMYKcmyk(15.1%, 79.6%, 0%, 63.5%)
CIE-LABlab(19.71, 38.66, -30.52)
CIE-LCHlch(19.71, 49.25, 321.71°)
OKLaboklab(32.5% 0.0992 -0.0857)
OKLCHoklch(32.5% 0.131 319.2)
XYZxyz(5.4328, 2.9186, 10.6310)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F135D #215D13
analogous
#2A135D #4F135D #5D1346
triadic
#4F135D #5D4F13 #135D4F
tetradic
#4F135D #5D2A13 #215D13 #13465D
square
#4F135D #5D2A13 #215D13 #13465D
split-complementary
#4F135D #465D13 #135D2A
monochromatic
#160519 #24092A #4F135D #7A1D90 #A528C3

Accessibility & contrast

On white

13.26
#4F135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F135D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F135D#FFFFFF#000000##FFFFFF
##4F135D1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#18325B
Tritanopia (blue-blind)
#4F2237
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f135d;
/* rgb */ color: rgb(79, 19, 93);
/* oklch */ color: oklch(32.5% 0.131 319.2);
Tailwind
colors: {
  custom: {
    50: '#83588b',
    500: '#4f135d',
    950: '#000000',
  },
}
SCSS
$custom: #4f135d;
$custom-light: #83588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f135d",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 288.649,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32497,
    "c": 0.13109,
    "h": 319.2
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#4F135D
secondary
#499537
accent
#E93F5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F135D

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

Preview Lab → · Contrast checker → · Palette generator →

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