#4F104D#4F104D

#4F104D is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.120 H 329.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4F104D
RGBrgb(79, 16, 77)
HSLhsl(302, 66%, 19%)
HSVhsv(302, 80%, 31%)
CMYKcmyk(0%, 79.7%, 2.5%, 69%)
CIE-LABlab(18.23, 36.63, -22.11)
CIE-LCHlch(18.23, 42.78, 328.89°)
OKLaboklab(31.09% 0.1032 -0.0611)
OKLCHoklch(31.09% 0.12 329.4)
XYZxyz(4.7493, 2.5690, 7.2655)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104D #104F12
analogous
#31104F #4F104D #4F102D
triadic
#4F104D #4D4F10 #104D4F
tetradic
#4F104D #4F3110 #104F12 #102D4F
square
#4F104D #4F3110 #104F12 #102D4F
split-complementary
#4F104D #2D4F10 #104F31
monochromatic
#190519 #1C061B #4F104D #821A7F #B525B0

Accessibility & contrast

On white

13.87
#4F104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F104D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104D#FFFFFF#000000##FFFFFF
##4F104D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274F
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#52192D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f104d;
/* rgb */ color: rgb(79, 16, 77);
/* oklch */ color: oklch(31.1% 0.120 329.4);
Tailwind
colors: {
  custom: {
    50: '#83567f',
    500: '#4f104d',
    950: '#000000',
  },
}
SCSS
$custom: #4f104d;
$custom-light: #83567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104d",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 301.905,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31089,
    "c": 0.11996,
    "h": 329.4
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#4F104D
secondary
#328935
accent
#E9443F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F104D

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

Preview Lab → · Contrast checker → · Palette generator →

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