#4F136B#4F136B

#4F136B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.145 H 312.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4F136B
RGBrgb(79, 19, 107)
HSLhsl(281, 70%, 25%)
HSVhsv(281, 82%, 42%)
CMYKcmyk(26.2%, 82.2%, 0%, 58%)
CIE-LABlab(20.79, 41.73, -38.00)
CIE-LCHlch(20.79, 56.44, 317.68°)
OKLaboklab(33.6% 0.0969 -0.1076)
OKLCHoklch(33.6% 0.145 312)
XYZxyz(6.1107, 3.1897, 14.2008)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F136B #2F6B13
analogous
#23136B #4F136B #6B135B
triadic
#4F136B #6B4F13 #136B4F
tetradic
#4F136B #6B2313 #2F6B13 #135B6B
square
#4F136B #6B2313 #2F6B13 #135B6B
split-complementary
#4F136B #5B6B13 #136B23
monochromatic
#13051A #290A37 #4F136B #751C9F #9C25D3

Accessibility & contrast

On white

12.82
#4F136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F136B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F136B#FFFFFF#000000##FFFFFF
##4F136B1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#033369
Tritanopia (blue-blind)
#4C283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f136b;
/* rgb */ color: rgb(79, 19, 107);
/* oklch */ color: oklch(33.6% 0.145 312.0);
Tailwind
colors: {
  custom: {
    50: '#845996',
    500: '#4f136b',
    950: '#000000',
  },
}
SCSS
$custom: #4f136b;
$custom-light: #845996;
$custom-dark: #000000;
JSON
{
  "hex": "#4f136b",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 280.909,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33595,
    "c": 0.14479,
    "h": 312
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#4F136B
secondary
#5AA238
accent
#ED3B74
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F136B

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

Preview Lab → · Contrast checker → · Palette generator →

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