#4F1856#4F1856

#4F1856 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.118 H 323.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4F1856
RGBrgb(79, 24, 86)
HSLhsl(293, 56%, 22%)
HSVhsv(293, 72%, 34%)
CMYKcmyk(8.1%, 72.1%, 0%, 66.3%)
CIE-LABlab(19.99, 35.04, -25.39)
CIE-LCHlch(19.99, 43.27, 324.06°)
OKLaboklab(32.54% 0.0939 -0.0707)
OKLCHoklch(32.54% 0.118 323)
XYZxyz(5.2306, 2.9877, 9.1035)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1856 #1F5618
analogous
#301856 #4F1856 #56183E
triadic
#4F1856 #564F18 #18564F
tetradic
#4F1856 #563018 #1F5618 #183E56
square
#4F1856 #563018 #1F5618 #183E56
split-complementary
#4F1856 #3E5618 #185630
monochromatic
#160718 #230B26 #4F1856 #7B2586 #A733B6

Accessibility & contrast

On white

13.15
#4F1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1856
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1856#FFFFFF#000000##FFFFFF
##4F18561.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#502234
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1856;
/* rgb */ color: rgb(79, 24, 86);
/* oklch */ color: oklch(32.5% 0.118 323.0);
Tailwind
colors: {
  custom: {
    50: '#835a86',
    500: '#4f1856',
    950: '#000000',
  },
}
SCSS
$custom: #4f1856;
$custom-light: #835a86;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1856",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 293.226,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32543,
    "c": 0.11753,
    "h": 323
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#4F1856
secondary
#468D3D
accent
#E04859
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1856

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

Preview Lab → · Contrast checker → · Palette generator →

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