#4F104E#4F104E

#4F104E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.121 H 328.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4F104E
RGBrgb(79, 16, 78)
HSLhsl(301, 66%, 19%)
HSVhsv(301, 80%, 31%)
CMYKcmyk(0%, 79.7%, 1.3%, 69%)
CIE-LABlab(18.29, 36.81, -22.69)
CIE-LCHlch(18.29, 43.24, 328.35°)
OKLaboklab(31.16% 0.1032 -0.0628)
OKLCHoklch(31.16% 0.121 328.7)
XYZxyz(4.7848, 2.5833, 7.4529)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104E #104F11
analogous
#30104F #4F104E #4F102E
triadic
#4F104E #4E4F10 #104E4F
tetradic
#4F104E #4F3010 #104F11 #102E4F
square
#4F104E #4F3010 #104F11 #102E4F
split-complementary
#4F104E #2E4F10 #104F30
monochromatic
#190519 #1C061C #4F104E #821A80 #B525B2

Accessibility & contrast

On white

13.85
#4F104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F104E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104E#FFFFFF#000000##FFFFFF
##4F104E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#22304C
Tritanopia (blue-blind)
#52192E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f104e;
/* rgb */ color: rgb(79, 16, 78);
/* oklch */ color: oklch(31.2% 0.121 328.7);
Tailwind
colors: {
  custom: {
    50: '#835680',
    500: '#4f104e',
    950: '#000000',
  },
}
SCSS
$custom: #4f104e;
$custom-light: #835680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104e",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 300.952,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31155,
    "c": 0.12083,
    "h": 328.7
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#4F104E
secondary
#328933
accent
#E9413F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F104E

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

Preview Lab → · Contrast checker → · Palette generator →

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