#4F0D56#4F0D56

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

Color values

HEX#4F0D56
RGBrgb(79, 13, 86)
HSLhsl(294, 74%, 19%)
HSVhsv(294, 85%, 34%)
CMYKcmyk(8.1%, 84.9%, 0%, 66.3%)
CIE-LABlab(18.46, 39.40, -27.84)
CIE-LCHlch(18.46, 48.24, 324.75°)
OKLaboklab(31.45% 0.1058 -0.0778)
OKLCHoklch(31.45% 0.131 323.7)
XYZxyz(5.0479, 2.6223, 9.0426)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D56 #14560D
analogous
#2B0D56 #4F0D56 #560D39
triadic
#4F0D56 #564F0D #0D564F
tetradic
#4F0D56 #562B0D #14560D #0D3956
square
#4F0D56 #562B0D #14560D #0D3956
split-complementary
#4F0D56 #39560D #0D562B
monochromatic
#18041B #1E0521 #4F0D56 #80158B #B11DC0

Accessibility & contrast

On white

13.78
#4F0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D56
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D56#FFFFFF#000000##FFFFFF
##4F0D561.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#1B3054
Tritanopia (blue-blind)
#501C32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0d56;
/* rgb */ color: rgb(79, 13, 86);
/* oklch */ color: oklch(31.4% 0.131 323.7);
Tailwind
colors: {
  custom: {
    50: '#835586',
    500: '#4f0d56',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d56;
$custom-light: #835586;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d56",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 294.247,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.13128,
    "h": 323.7
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#4F0D56
secondary
#38912E
accent
#F03749
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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