#4F115A#4F115A

#4F115A is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.131 H 321.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4F115A
RGBrgb(79, 17, 90)
HSLhsl(291, 68%, 21%)
HSVhsv(291, 81%, 35%)
CMYKcmyk(12.2%, 81.1%, 0%, 64.7%)
CIE-LABlab(19.23, 38.80, -29.29)
CIE-LCHlch(19.23, 48.62, 322.95°)
OKLaboklab(32.09% 0.1016 -0.0821)
OKLCHoklch(32.09% 0.131 321.1)
XYZxyz(5.2701, 2.8016, 9.9341)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115A #1C5A11
analogous
#2A115A #4F115A #5A1140
triadic
#4F115A #5A4F11 #115A4F
tetradic
#4F115A #5A2A11 #1C5A11 #11405A
square
#4F115A #5A2A11 #1C5A11 #11405A
split-complementary
#4F115A #405A11 #115A2A
monochromatic
#17051A #220727 #4F115A #7C1B8D #A924C1

Accessibility & contrast

On white

13.46
#4F115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F115A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115A#FFFFFF#000000##FFFFFF
##4F115A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#502035
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115a;
/* rgb */ color: rgb(79, 17, 90);
/* oklch */ color: oklch(32.1% 0.131 321.1);
Tailwind
colors: {
  custom: {
    50: '#835789',
    500: '#4f115a',
    950: '#000000',
  },
}
SCSS
$custom: #4f115a;
$custom-light: #835789;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115a",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 290.959,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32085,
    "c": 0.13059,
    "h": 321.1
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#4F115A
secondary
#429334
accent
#EB3D57
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F115A

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

Preview Lab → · Contrast checker → · Palette generator →

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