#4F105E#4F105E

#4F105E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.135 H 318.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4F105E
RGBrgb(79, 16, 94)
HSLhsl(288, 71%, 22%)
HSVhsv(288, 83%, 37%)
CMYKcmyk(16%, 83%, 0%, 63.1%)
CIE-LABlab(19.40, 40.00, -31.69)
CIE-LCHlch(19.40, 51.03, 321.61°)
OKLaboklab(32.3% 0.1021 -0.0891)
OKLCHoklch(32.3% 0.135 318.9)
XYZxyz(5.4298, 2.8413, 10.8499)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F105E #1F5E10
analogous
#28105E #4F105E #5E1046
triadic
#4F105E #5E4F10 #105E4F
tetradic
#4F105E #5E2810 #1F5E10 #10465E
square
#4F105E #5E2810 #1F5E10 #10465E
split-complementary
#4F105E #465E10 #105E28
monochromatic
#16041A #23072A #4F105E #7B1992 #A722C7

Accessibility & contrast

On white

13.39
#4F105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F105E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F105E#FFFFFF#000000##FFFFFF
##4F105E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#15315C
Tritanopia (blue-blind)
#4F2137
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f105e;
/* rgb */ color: rgb(79, 16, 94);
/* oklch */ color: oklch(32.3% 0.135 318.9);
Tailwind
colors: {
  custom: {
    50: '#83578c',
    500: '#4f105e',
    950: '#000000',
  },
}
SCSS
$custom: #4f105e;
$custom-light: #83578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f105e",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 288.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32295,
    "c": 0.13546,
    "h": 318.9
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#4F105E
secondary
#469733
accent
#EE3A5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F105E

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

Preview Lab → · Contrast checker → · Palette generator →

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