#4F104F#4F104F

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

Color values

HEX#4F104F
RGBrgb(79, 16, 79)
HSLhsl(300, 66%, 19%)
HSVhsv(300, 80%, 31%)
CMYKcmyk(0%, 79.7%, 0%, 69%)
CIE-LABlab(18.35, 37.00, -23.27)
CIE-LCHlch(18.35, 43.71, 327.84°)
OKLaboklab(31.22% 0.1032 -0.0645)
OKLCHoklch(31.22% 0.122 328)
XYZxyz(4.8210, 2.5977, 7.6431)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F104F #104F10
analogous
#2F104F #4F104F #4F102F
triadic
#4F104F #4F4F10 #104F4F
tetradic
#4F104F #4F2F10 #104F10 #102F4F
square
#4F104F #4F2F10 #104F10 #102F4F
split-complementary
#4F104F #2F4F10 #104F2F
monochromatic
#190519 #1C061C #4F104F #821A82 #B525B5

Accessibility & contrast

On white

13.82
#4F104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F104F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F104F#FFFFFF#000000##FFFFFF
##4F104F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042851
Deuteranopia (green-blind)
#21304D
Tritanopia (blue-blind)
#521A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f104f;
/* rgb */ color: rgb(79, 16, 79);
/* oklch */ color: oklch(31.2% 0.122 328.0);
Tailwind
colors: {
  custom: {
    50: '#835680',
    500: '#4f104f',
    950: '#000000',
  },
}
SCSS
$custom: #4f104f;
$custom-light: #835680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f104f",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31221,
    "c": 0.12172,
    "h": 328
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#4F104F
secondary
#328932
accent
#E93F3F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F104F

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

Preview Lab → · Contrast checker → · Palette generator →

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