#4F105C#4F105C

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

Color values

HEX#4F105C
RGBrgb(79, 16, 92)
HSLhsl(290, 70%, 21%)
HSVhsv(290, 83%, 36%)
CMYKcmyk(14.1%, 82.6%, 0%, 63.9%)
CIE-LABlab(19.25, 39.58, -30.60)
CIE-LCHlch(19.25, 50.03, 322.29°)
OKLaboklab(32.14% 0.1023 -0.0859)
OKLCHoklch(32.14% 0.134 320)
XYZxyz(5.3413, 2.8058, 10.3834)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F105C #1D5C10
analogous
#29105C #4F105C #5C1043
triadic
#4F105C #5C4F10 #105C4F
tetradic
#4F105C #5C2910 #1D5C10 #10435C
square
#4F105C #5C2910 #1D5C10 #10435C
split-complementary
#4F105C #435C10 #105C29
monochromatic
#16051A #220728 #4F105C #7C1990 #A922C4

Accessibility & contrast

On white

13.45
#4F105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F105C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F105C#FFFFFF#000000##FFFFFF
##4F105C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#4F2036
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f105c;
/* rgb */ color: rgb(79, 16, 92);
/* oklch */ color: oklch(32.1% 0.134 320.0);
Tailwind
colors: {
  custom: {
    50: '#83578b',
    500: '#4f105c',
    950: '#000000',
  },
}
SCSS
$custom: #4f105c;
$custom-light: #83578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f105c",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 289.737,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.13359,
    "h": 320
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#4F105C
secondary
#449533
accent
#ED3B59
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F105C

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

Preview Lab → · Contrast checker → · Palette generator →

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