#4F104A#4F104A

#4F104A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.117 H 331.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4F104A
RGBrgb(79, 16, 74)
HSLhsl(305, 66%, 19%)
HSVhsv(305, 80%, 31%)
CMYKcmyk(0%, 79.7%, 6.3%, 69%)
CIE-LABlab(18.04, 36.08, -20.34)
CIE-LCHlch(18.04, 41.42, 330.58°)
OKLaboklab(30.9% 0.1031 -0.056)
OKLCHoklch(30.9% 0.117 331.5)
XYZxyz(4.6458, 2.5276, 6.7204)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104A #104F15
analogous
#34104F #4F104A #4F102A
triadic
#4F104A #4A4F10 #104A4F
tetradic
#4F104A #4F3410 #104F15 #102A4F
square
#4F104A #4F3410 #104F15 #102A4F
split-complementary
#4F104A #2A4F10 #104F34
monochromatic
#190518 #1C061A #4F104A #821A7A #B525A9

Accessibility & contrast

On white

13.95
#4F104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F104A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104A#FFFFFF#000000##FFFFFF
##4F104A1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264C
Deuteranopia (green-blind)
#242F48
Tritanopia (blue-blind)
#53172C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f104a;
/* rgb */ color: rgb(79, 16, 74);
/* oklch */ color: oklch(30.9% 0.117 331.5);
Tailwind
colors: {
  custom: {
    50: '#83567d',
    500: '#4f104a',
    950: '#000000',
  },
}
SCSS
$custom: #4f104a;
$custom-light: #83567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104a",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 304.762,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30897,
    "c": 0.11736,
    "h": 331.5
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#4F104A
secondary
#328939
accent
#E94C3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F104A

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

Preview Lab → · Contrast checker → · Palette generator →

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