#4F135B#4F135B

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

Color values

HEX#4F135B
RGBrgb(79, 19, 91)
HSLhsl(290, 65%, 22%)
HSVhsv(290, 79%, 36%)
CMYKcmyk(13.2%, 79.1%, 0%, 64.3%)
CIE-LABlab(19.57, 38.24, -29.41)
CIE-LCHlch(19.57, 48.24, 322.43°)
OKLaboklab(32.35% 0.0994 -0.0824)
OKLCHoklch(32.35% 0.129 320.3)
XYZxyz(5.3454, 2.8836, 10.1705)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F135B #1F5B13
analogous
#2B135B #4F135B #5B1343
triadic
#4F135B #5B4F13 #135B4F
tetradic
#4F135B #5B2B13 #1F5B13 #13435B
square
#4F135B #5B2B13 #1F5B13 #13435B
split-complementary
#4F135B #435B13 #135B2B
monochromatic
#160519 #230828 #4F135B #7B1E8E #A728C0

Accessibility & contrast

On white

13.32
#4F135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F135B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F135B#FFFFFF#000000##FFFFFF
##4F135B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#4F2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f135b;
/* rgb */ color: rgb(79, 19, 91);
/* oklch */ color: oklch(32.3% 0.129 320.3);
Tailwind
colors: {
  custom: {
    50: '#83588a',
    500: '#4f135b',
    950: '#000000',
  },
}
SCSS
$custom: #4f135b;
$custom-light: #83588a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f135b",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 290,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32349,
    "c": 0.12916,
    "h": 320.3
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#4F135B
secondary
#469337
accent
#E83F5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F135B

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

Preview Lab → · Contrast checker → · Palette generator →

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