#4F0B56#4F0B56

#4F0B56 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.133 H 323.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4F0B56
RGBrgb(79, 11, 86)
HSLhsl(294, 77%, 19%)
HSVhsv(294, 87%, 34%)
CMYKcmyk(8.1%, 87.2%, 0%, 66.3%)
CIE-LABlab(18.25, 40.02, -28.18)
CIE-LCHlch(18.25, 48.95, 324.84°)
OKLaboklab(31.3% 0.1075 -0.0788)
OKLCHoklch(31.3% 0.133 323.8)
XYZxyz(5.0237, 2.5738, 9.0345)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B56 #12560B
analogous
#2A0B56 #4F0B56 #560B38
triadic
#4F0B56 #564F0B #0B564F
tetradic
#4F0B56 #562A0B #12560B #0B3856
square
#4F0B56 #562A0B #12560B #0B3856
split-complementary
#4F0B56 #38560B #0B562A
monochromatic
#19031B #1D0420 #4F0B56 #81128C #B319C3

Accessibility & contrast

On white

13.87
#4F0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0B56
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B56#FFFFFF#000000##FFFFFF
##4F0B561.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#1A2F54
Tritanopia (blue-blind)
#511B31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0b56;
/* rgb */ color: rgb(79, 11, 86);
/* oklch */ color: oklch(31.3% 0.133 323.8);
Tailwind
colors: {
  custom: {
    50: '#835586',
    500: '#4f0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b56;
$custom-light: #835586;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b56",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 294.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31298,
    "c": 0.13324,
    "h": 323.8
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#4F0B56
secondary
#35912B
accent
#F43446
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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