#4F0E51#4F0E51

#4F0E51 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.126 H 326.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4F0E51
RGBrgb(79, 14, 81)
HSLhsl(298, 71%, 19%)
HSVhsv(298, 83%, 32%)
CMYKcmyk(2.5%, 82.7%, 0%, 68.2%)
CIE-LABlab(18.24, 38.10, -24.82)
CIE-LCHlch(18.24, 45.47, 326.92°)
OKLaboklab(31.18% 0.1052 -0.069)
OKLCHoklch(31.18% 0.126 326.8)
XYZxyz(4.8666, 2.5708, 8.0229)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E51 #10510E
analogous
#2D0E51 #4F0E51 #510E31
triadic
#4F0E51 #514F0E #0E514F
tetradic
#4F0E51 #512D0E #10510E #0E3151
square
#4F0E51 #512D0E #10510E #0E3151
split-complementary
#4F0E51 #31510E #0E512D
monochromatic
#19051A #1C051D #4F0E51 #821785 #B520B9

Accessibility & contrast

On white

13.87
#4F0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F0E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E51
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E51#FFFFFF#000000##FFFFFF
##4F0E511.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1F2F4F
Tritanopia (blue-blind)
#511A2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0e51;
/* rgb */ color: rgb(79, 14, 81);
/* oklch */ color: oklch(31.2% 0.126 326.8);
Tailwind
colors: {
  custom: {
    50: '#835582',
    500: '#4f0e51',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e51;
$custom-light: #835582;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e51",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 298.209,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.1258,
    "h": 326.8
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#4F0E51
secondary
#328C2F
accent
#ED3A40
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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