#4F135A#4F135A

#4F135A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.128 H 320.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4F135A
RGBrgb(79, 19, 90)
HSLhsl(291, 65%, 21%)
HSVhsv(291, 79%, 35%)
CMYKcmyk(12.2%, 78.9%, 0%, 64.7%)
CIE-LABlab(19.50, 38.03, -28.86)
CIE-LCHlch(19.50, 47.74, 322.81°)
OKLaboklab(32.28% 0.0995 -0.0808)
OKLCHoklch(32.28% 0.128 320.9)
XYZxyz(5.3026, 2.8665, 9.9449)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F135A #1E5A13
analogous
#2C135A #4F135A #5A1342
triadic
#4F135A #5A4F13 #135A4F
tetradic
#4F135A #5A2C13 #1E5A13 #13425A
square
#4F135A #5A2C13 #1E5A13 #13425A
split-complementary
#4F135A #425A13 #135A2C
monochromatic
#160519 #230827 #4F135A #7B1E8D #A828BF

Accessibility & contrast

On white

13.35
#4F135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F135A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F135A#FFFFFF#000000##FFFFFF
##4F135A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1B3158
Tritanopia (blue-blind)
#502135
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f135a;
/* rgb */ color: rgb(79, 19, 90);
/* oklch */ color: oklch(32.3% 0.128 320.9);
Tailwind
colors: {
  custom: {
    50: '#835889',
    500: '#4f135a',
    950: '#000000',
  },
}
SCSS
$custom: #4f135a;
$custom-light: #835889;
$custom-dark: #000000;
JSON
{
  "hex": "#4f135a",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 290.704,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32277,
    "c": 0.1282,
    "h": 320.9
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#4F135A
secondary
#459237
accent
#E8405A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F135A

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

Preview Lab → · Contrast checker → · Palette generator →

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