#4F0F56#4F0F56

#4F0F56 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.129 H 323.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4F0F56
RGBrgb(79, 15, 86)
HSLhsl(294, 70%, 20%)
HSVhsv(294, 83%, 34%)
CMYKcmyk(8.1%, 82.6%, 0%, 66.3%)
CIE-LABlab(18.70, 38.72, -27.46)
CIE-LCHlch(18.70, 47.47, 324.65°)
OKLaboklab(31.62% 0.1039 -0.0767)
OKLCHoklch(31.62% 0.129 323.6)
XYZxyz(5.0748, 2.6761, 9.0515)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F56 #16560F
analogous
#2C0F56 #4F0F56 #560F39
triadic
#4F0F56 #564F0F #0F564F
tetradic
#4F0F56 #562C0F #16560F #0F3956
square
#4F0F56 #562C0F #16560F #0F3956
split-complementary
#4F0F56 #39560F #0F562C
monochromatic
#18051A #1F0622 #4F0F56 #7F188A #AF21BE

Accessibility & contrast

On white

13.68
#4F0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F56
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F56#FFFFFF#000000##FFFFFF
##4F0F561.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0f56;
/* rgb */ color: rgb(79, 15, 86);
/* oklch */ color: oklch(31.6% 0.129 323.6);
Tailwind
colors: {
  custom: {
    50: '#835686',
    500: '#4f0f56',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f56;
$custom-light: #835686;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f56",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 294.085,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31615,
    "c": 0.12916,
    "h": 323.6
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#4F0F56
secondary
#3A9031
accent
#ED3B4C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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