#4F0D52#4F0D52

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

Color values

HEX#4F0D52
RGBrgb(79, 13, 82)
HSLhsl(297, 73%, 19%)
HSVhsv(297, 84%, 32%)
CMYKcmyk(3.7%, 84.1%, 0%, 67.8%)
CIE-LABlab(18.19, 38.63, -25.58)
CIE-LCHlch(18.19, 46.33, 326.49°)
OKLaboklab(31.16% 0.1061 -0.0712)
OKLCHoklch(31.16% 0.128 326.1)
XYZxyz(4.8913, 2.5596, 8.2174)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D52 #10520D
analogous
#2C0D52 #4F0D52 #520D32
triadic
#4F0D52 #524F0D #0D524F
tetradic
#4F0D52 #522C0D #10520D #0D3252
square
#4F0D52 #522C0D #10520D #0D3252
split-complementary
#4F0D52 #32520D #0D522C
monochromatic
#19041A #1C051D #4F0D52 #821587 #B51EBC

Accessibility & contrast

On white

13.89
#4F0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D52
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D52#FFFFFF#000000##FFFFFF
##4F0D521.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0d52;
/* rgb */ color: rgb(79, 13, 82);
/* oklch */ color: oklch(31.2% 0.128 326.1);
Tailwind
colors: {
  custom: {
    50: '#835583',
    500: '#4f0d52',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d52;
$custom-light: #835583;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d52",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 297.391,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31164,
    "c": 0.12776,
    "h": 326.1
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#4F0D52
secondary
#328D2E
accent
#EF3840
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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