#4F1056#4F1056

#4F1056 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.128 H 323.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#4F1056
RGBrgb(79, 16, 86)
HSLhsl(294, 69%, 20%)
HSVhsv(294, 81%, 34%)
CMYKcmyk(8.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(18.82, 38.36, -27.27)
CIE-LCHlch(18.82, 47.07, 324.60°)
OKLaboklab(31.7% 0.103 -0.0761)
OKLCHoklch(31.7% 0.128 323.5)
XYZxyz(5.0893, 2.7050, 9.0564)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1056 #175610
analogous
#2C1056 #4F1056 #56103A
triadic
#4F1056 #564F10 #10564F
tetradic
#4F1056 #562C10 #175610 #103A56
square
#4F1056 #562C10 #175610 #103A56
split-complementary
#4F1056 #3A5610 #10562C
monochromatic
#18051A #200622 #4F1056 #7E1A8A #AE23BD

Accessibility & contrast

On white

13.63
#4F1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1056
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1056#FFFFFF#000000##FFFFFF
##4F10561.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#1D3054
Tritanopia (blue-blind)
#501D32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1056;
/* rgb */ color: rgb(79, 16, 86);
/* oklch */ color: oklch(31.7% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#835686',
    500: '#4f1056',
    950: '#000000',
  },
}
SCSS
$custom: #4f1056;
$custom-light: #835686;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1056",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 294,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.12803,
    "h": 323.5
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#4F1056
secondary
#3C8F32
accent
#EB3C4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1056

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

Preview Lab → · Contrast checker → · Palette generator →

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