#4F0F55#4F0F55

#4F0F55 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.128 H 324.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4F0F55
RGBrgb(79, 15, 85)
HSLhsl(295, 70%, 20%)
HSVhsv(295, 82%, 33%)
CMYKcmyk(7.1%, 82.4%, 0%, 66.7%)
CIE-LABlab(18.63, 38.52, -26.90)
CIE-LCHlch(18.63, 46.99, 325.07°)
OKLaboklab(31.54% 0.104 -0.075)
OKLCHoklch(31.54% 0.128 324.2)
XYZxyz(5.0348, 2.6601, 8.8408)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F55 #15550F
analogous
#2C0F55 #4F0F55 #550F38
triadic
#4F0F55 #554F0F #0F554F
tetradic
#4F0F55 #552C0F #15550F #0F3855
square
#4F0F55 #552C0F #15550F #0F3855
split-complementary
#4F0F55 #38550F #0F552C
monochromatic
#18051A #1F0621 #4F0F55 #7F1889 #B021BD

Accessibility & contrast

On white

13.71
#4F0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F55
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F55#FFFFFF#000000##FFFFFF
##4F0F551.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0f55;
/* rgb */ color: rgb(79, 15, 85);
/* oklch */ color: oklch(31.5% 0.128 324.2);
Tailwind
colors: {
  custom: {
    50: '#835685',
    500: '#4f0f55',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f55;
$custom-light: #835685;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f55",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 294.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31544,
    "c": 0.12826,
    "h": 324.2
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#4F0F55
secondary
#398F31
accent
#ED3B4A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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