#4F1051#4F1051

#4F1051 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.123 H 326.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4F1051
RGBrgb(79, 16, 81)
HSLhsl(298, 67%, 19%)
HSVhsv(298, 80%, 32%)
CMYKcmyk(2.5%, 80.2%, 0%, 68.2%)
CIE-LABlab(18.48, 37.38, -24.42)
CIE-LCHlch(18.48, 44.65, 326.84°)
OKLaboklab(31.36% 0.1032 -0.0678)
OKLCHoklch(31.36% 0.124 326.7)
XYZxyz(4.8949, 2.6273, 8.0323)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1051 #125110
analogous
#2F1051 #4F1051 #511033
triadic
#4F1051 #514F10 #10514F
tetradic
#4F1051 #512F10 #125110 #103351
square
#4F1051 #512F10 #125110 #103351
split-complementary
#4F1051 #335110 #10512F
monochromatic
#19051A #1D061E #4F1051 #811A84 #B324B7

Accessibility & contrast

On white

13.77
#4F1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1051
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1051#FFFFFF#000000##FFFFFF
##4F10511.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022853
Deuteranopia (green-blind)
#20304F
Tritanopia (blue-blind)
#511B2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1051;
/* rgb */ color: rgb(79, 16, 81);
/* oklch */ color: oklch(31.4% 0.123 326.7);
Tailwind
colors: {
  custom: {
    50: '#835682',
    500: '#4f1051',
    950: '#000000',
  },
}
SCSS
$custom: #4f1051;
$custom-light: #835682;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1051",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 298.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.1235,
    "h": 326.7
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#4F1051
secondary
#358B32
accent
#EA3E43
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1051

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

Preview Lab → · Contrast checker → · Palette generator →

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