#4F115B#4F115B

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

Color values

HEX#4F115B
RGBrgb(79, 17, 91)
HSLhsl(290, 69%, 21%)
HSVhsv(290, 81%, 36%)
CMYKcmyk(13.2%, 81.3%, 0%, 64.3%)
CIE-LABlab(19.30, 39.01, -29.85)
CIE-LCHlch(19.30, 49.12, 322.58°)
OKLaboklab(32.16% 0.1015 -0.0837)
OKLCHoklch(32.16% 0.132 320.5)
XYZxyz(5.3130, 2.8188, 10.1597)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115B #1D5B11
analogous
#2A115B #4F115B #5B1142
triadic
#4F115B #5B4F11 #115B4F
tetradic
#4F115B #5B2A11 #1D5B11 #11425B
square
#4F115B #5B2A11 #1D5B11 #11425B
split-complementary
#4F115B #425B11 #115B2A
monochromatic
#16051A #220727 #4F115B #7C1B8F #A924C2

Accessibility & contrast

On white

13.43
#4F115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F115B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115B#FFFFFF#000000##FFFFFF
##4F115B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#4F2035
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115b;
/* rgb */ color: rgb(79, 17, 91);
/* oklch */ color: oklch(32.2% 0.132 320.5);
Tailwind
colors: {
  custom: {
    50: '#83578a',
    500: '#4f115b',
    950: '#000000',
  },
}
SCSS
$custom: #4f115b;
$custom-light: #83578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115b",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 290.27,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.13153,
    "h": 320.5
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#4F115B
secondary
#449434
accent
#EB3C59
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F115B

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

Preview Lab → · Contrast checker → · Palette generator →

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