#4F136C#4F136C

#4F136C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.146 H 311.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#4F136C
RGBrgb(79, 19, 108)
HSLhsl(280, 70%, 25%)
HSVhsv(280, 82%, 42%)
CMYKcmyk(26.9%, 82.4%, 0%, 57.6%)
CIE-LABlab(20.87, 41.96, -38.52)
CIE-LCHlch(20.87, 56.96, 317.45°)
OKLaboklab(33.68% 0.0966 -0.1091)
OKLCHoklch(33.68% 0.146 311.5)
XYZxyz(6.1636, 3.2109, 14.4795)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F136C #306C13
analogous
#22136C #4F136C #6C135D
triadic
#4F136C #6C4F13 #136C4F
tetradic
#4F136C #6C2213 #306C13 #135D6C
square
#4F136C #6C2213 #306C13 #135D6C
split-complementary
#4F136C #5D6C13 #136C22
monochromatic
#13051A #290A38 #4F136C #751CA0 #9B25D4

Accessibility & contrast

On white

12.79
#4F136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F136C
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F136C#FFFFFF#000000##FFFFFF
##4F136C1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#4B293F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f136c;
/* rgb */ color: rgb(79, 19, 108);
/* oklch */ color: oklch(33.7% 0.146 311.5);
Tailwind
colors: {
  custom: {
    50: '#845997',
    500: '#4f136c',
    950: '#000000',
  },
}
SCSS
$custom: #4f136c;
$custom-light: #845997;
$custom-dark: #000000;
JSON
{
  "hex": "#4f136c",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 280.449,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.14578,
    "h": 311.5
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#4F136C
secondary
#5BA338
accent
#ED3B75
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F136C

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

Preview Lab → · Contrast checker → · Palette generator →

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