#4F135F#4F135F

#4F135F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.133 H 318.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4F135F
RGBrgb(79, 19, 95)
HSLhsl(287, 67%, 22%)
HSVhsv(287, 80%, 37%)
CMYKcmyk(16.8%, 80%, 0%, 62.7%)
CIE-LABlab(19.86, 39.09, -31.61)
CIE-LCHlch(19.86, 50.27, 321.04°)
OKLaboklab(32.65% 0.099 -0.0889)
OKLCHoklch(32.65% 0.133 318.1)
XYZxyz(5.5226, 2.9545, 11.1036)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F135F #235F13
analogous
#29135F #4F135F #5F1349
triadic
#4F135F #5F4F13 #135F4F
tetradic
#4F135F #5F2913 #235F13 #13495F
square
#4F135F #5F2913 #235F13 #13495F
split-complementary
#4F135F #495F13 #135F29
monochromatic
#15051A #25092C #4F135F #791D92 #A427C5

Accessibility & contrast

On white

13.20
#4F135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F135F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F135F#FFFFFF#000000##FFFFFF
##4F135F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#4F2338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f135f;
/* rgb */ color: rgb(79, 19, 95);
/* oklch */ color: oklch(32.6% 0.133 318.1);
Tailwind
colors: {
  custom: {
    50: '#83588d',
    500: '#4f135f',
    950: '#000000',
  },
}
SCSS
$custom: #4f135f;
$custom-light: #83588d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f135f",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 287.368,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32647,
    "c": 0.13302,
    "h": 318.1
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#4F135F
secondary
#4B9737
accent
#EA3E62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F135F

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

Preview Lab → · Contrast checker → · Palette generator →

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