#4F105B#4F105B

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

Color values

HEX#4F105B
RGBrgb(79, 16, 91)
HSLhsl(290, 70%, 21%)
HSVhsv(290, 82%, 36%)
CMYKcmyk(13.2%, 82.4%, 0%, 64.3%)
CIE-LABlab(19.18, 39.37, -30.05)
CIE-LCHlch(19.18, 49.53, 322.65°)
OKLaboklab(32.07% 0.1025 -0.0843)
OKLCHoklch(32.07% 0.133 320.6)
XYZxyz(5.2978, 2.7885, 10.1547)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F105B #1C5B10
analogous
#29105B #4F105B #5B1041
triadic
#4F105B #5B4F10 #105B4F
tetradic
#4F105B #5B2910 #1C5B10 #10415B
square
#4F105B #5B2910 #1C5B10 #10415B
split-complementary
#4F105B #415B10 #105B29
monochromatic
#17051A #220727 #4F105B #7C198F #A922C3

Accessibility & contrast

On white

13.48
#4F105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F105B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F105B#FFFFFF#000000##FFFFFF
##4F105B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f105b;
/* rgb */ color: rgb(79, 16, 91);
/* oklch */ color: oklch(32.1% 0.133 320.6);
Tailwind
colors: {
  custom: {
    50: '#83578a',
    500: '#4f105b',
    950: '#000000',
  },
}
SCSS
$custom: #4f105b;
$custom-light: #83578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f105b",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 290.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32069,
    "c": 0.13265,
    "h": 320.6
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#4F105B
secondary
#429433
accent
#ED3B57
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F105B

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

Preview Lab → · Contrast checker → · Palette generator →

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