#4F115C#4F115C

#4F115C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.132 H 319.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4F115C
RGBrgb(79, 17, 92)
HSLhsl(290, 69%, 21%)
HSVhsv(290, 82%, 36%)
CMYKcmyk(14.1%, 81.5%, 0%, 63.9%)
CIE-LABlab(19.38, 39.22, -30.40)
CIE-LCHlch(19.38, 49.62, 322.22°)
OKLaboklab(32.23% 0.1014 -0.0853)
OKLCHoklch(32.23% 0.132 319.9)
XYZxyz(5.3564, 2.8361, 10.3884)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115C #1E5C11
analogous
#2A115C #4F115C #5C1144
triadic
#4F115C #5C4F11 #115C4F
tetradic
#4F115C #5C2A11 #1E5C11 #11445C
square
#4F115C #5C2A11 #1E5C11 #11445C
split-complementary
#4F115C #445C11 #115C2A
monochromatic
#16051A #230728 #4F115C #7B1B90 #A824C3

Accessibility & contrast

On white

13.40
#4F115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F115C
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115C#FFFFFF#000000##FFFFFF
##4F115C1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#4F2136
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115c;
/* rgb */ color: rgb(79, 17, 92);
/* oklch */ color: oklch(32.2% 0.132 319.9);
Tailwind
colors: {
  custom: {
    50: '#83578b',
    500: '#4f115c',
    950: '#000000',
  },
}
SCSS
$custom: #4f115c;
$custom-light: #83578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115c",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 289.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.13248,
    "h": 319.9
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#4F115C
secondary
#459534
accent
#EC3C5B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F115C

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

Preview Lab → · Contrast checker → · Palette generator →

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