#4F136A#4F136A

#4F136A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.144 H 312.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4F136A
RGBrgb(79, 19, 106)
HSLhsl(281, 70%, 25%)
HSVhsv(281, 82%, 42%)
CMYKcmyk(25.5%, 82.1%, 0%, 58.4%)
CIE-LABlab(20.71, 41.51, -37.48)
CIE-LCHlch(20.71, 55.92, 317.92°)
OKLaboklab(33.51% 0.0971 -0.1061)
OKLCHoklch(33.51% 0.144 312.5)
XYZxyz(6.0584, 3.1688, 13.9254)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F136A #2E6A13
analogous
#23136A #4F136A #6A135A
triadic
#4F136A #6A4F13 #136A4F
tetradic
#4F136A #6A2313 #2E6A13 #135A6A
square
#4F136A #6A2313 #2E6A13 #135A6A
split-complementary
#4F136A #5A6A13 #136A23
monochromatic
#13051A #280A36 #4F136A #761C9E #9C26D2

Accessibility & contrast

On white

12.85
#4F136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F136A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F136A#FFFFFF#000000##FFFFFF
##4F136A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#053368
Tritanopia (blue-blind)
#4C283E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f136a;
/* rgb */ color: rgb(79, 19, 106);
/* oklch */ color: oklch(33.5% 0.144 312.5);
Tailwind
colors: {
  custom: {
    50: '#845995',
    500: '#4f136a',
    950: '#000000',
  },
}
SCSS
$custom: #4f136a;
$custom-light: #845995;
$custom-dark: #000000;
JSON
{
  "hex": "#4f136a",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 281.379,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.1438,
    "h": 312.5
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#4F136A
secondary
#58A138
accent
#EC3B72
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F136A

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

Preview Lab → · Contrast checker → · Palette generator →

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