#4F0F54#4F0F54

#4F0F54 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.127 H 324.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4F0F54
RGBrgb(79, 15, 84)
HSLhsl(296, 70%, 19%)
HSVhsv(296, 82%, 33%)
CMYKcmyk(6%, 82.1%, 0%, 67.1%)
CIE-LABlab(18.56, 38.33, -26.34)
CIE-LCHlch(18.56, 46.50, 325.51°)
OKLaboklab(31.47% 0.1041 -0.0734)
OKLCHoklch(31.47% 0.127 324.8)
XYZxyz(4.9954, 2.6443, 8.6331)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F54 #14540F
analogous
#2D0F54 #4F0F54 #540F37
triadic
#4F0F54 #544F0F #0F544F
tetradic
#4F0F54 #542D0F #14540F #0F3754
square
#4F0F54 #542D0F #14540F #0F3754
split-complementary
#4F0F54 #37540F #0F542D
monochromatic
#18051A #1E0620 #4F0F54 #801888 #B122BC

Accessibility & contrast

On white

13.74
#4F0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F54
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F54#FFFFFF#000000##FFFFFF
##4F0F541.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#511C31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0f54;
/* rgb */ color: rgb(79, 15, 84);
/* oklch */ color: oklch(31.5% 0.127 324.8);
Tailwind
colors: {
  custom: {
    50: '#835684',
    500: '#4f0f54',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f54;
$custom-light: #835684;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f54",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 295.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.12736,
    "h": 324.8
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#4F0F54
secondary
#388E31
accent
#ED3B48
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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