#4F105F#4F105F

#4F105F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.136 H 318.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4F105F
RGBrgb(79, 16, 95)
HSLhsl(288, 71%, 22%)
HSVhsv(288, 83%, 37%)
CMYKcmyk(16.8%, 83.2%, 0%, 62.7%)
CIE-LABlab(19.47, 40.21, -32.24)
CIE-LCHlch(19.47, 51.54, 321.28°)
OKLaboklab(32.37% 0.1019 -0.0907)
OKLCHoklch(32.37% 0.136 318.3)
XYZxyz(5.4750, 2.8593, 11.0878)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F105F #205F10
analogous
#28105F #4F105F #5F1048
triadic
#4F105F #5F4F10 #105F4F
tetradic
#4F105F #5F2810 #205F10 #10485F
square
#4F105F #5F2810 #205F10 #10485F
split-complementary
#4F105F #485F10 #105F28
monochromatic
#16041A #23072B #4F105F #7B1993 #A622C8

Accessibility & contrast

On white

13.36
#4F105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F105F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F105F#FFFFFF#000000##FFFFFF
##4F105F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#4F2137
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f105f;
/* rgb */ color: rgb(79, 16, 95);
/* oklch */ color: oklch(32.4% 0.136 318.3);
Tailwind
colors: {
  custom: {
    50: '#84578d',
    500: '#4f105f',
    950: '#000000',
  },
}
SCSS
$custom: #4f105f;
$custom-light: #84578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f105f",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 287.848,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.13641,
    "h": 318.3
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#4F105F
secondary
#479833
accent
#EE3A5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F105F

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

Preview Lab → · Contrast checker → · Palette generator →

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