#4F0F51#4F0F51

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

Color values

HEX#4F0F51
RGBrgb(79, 15, 81)
HSLhsl(298, 69%, 19%)
HSVhsv(298, 81%, 32%)
CMYKcmyk(2.5%, 81.5%, 0%, 68.2%)
CIE-LABlab(18.36, 37.75, -24.63)
CIE-LCHlch(18.36, 45.07, 326.88°)
OKLaboklab(31.26% 0.1042 -0.0684)
OKLCHoklch(31.26% 0.125 326.7)
XYZxyz(4.8804, 2.5983, 8.0275)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F51 #11510F
analogous
#2E0F51 #4F0F51 #510F32
triadic
#4F0F51 #514F0F #0F514F
tetradic
#4F0F51 #512E0F #11510F #0F3251
square
#4F0F51 #512E0F #11510F #0F3251
split-complementary
#4F0F51 #32510F #0F512E
monochromatic
#19051A #1D051D #4F0F51 #811985 #B422B8

Accessibility & contrast

On white

13.82
#4F0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F51
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F51#FFFFFF#000000##FFFFFF
##4F0F511.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002853
Deuteranopia (green-blind)
#20304F
Tritanopia (blue-blind)
#511A2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0f51;
/* rgb */ color: rgb(79, 15, 81);
/* oklch */ color: oklch(31.3% 0.125 326.7);
Tailwind
colors: {
  custom: {
    50: '#835682',
    500: '#4f0f51',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f51;
$custom-light: #835682;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f51",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 298.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31265,
    "c": 0.12467,
    "h": 326.7
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#4F0F51
secondary
#338B31
accent
#EC3C42
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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