#4F0F52#4F0F52

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

Color values

HEX#4F0F52
RGBrgb(79, 15, 82)
HSLhsl(297, 69%, 19%)
HSVhsv(297, 82%, 32%)
CMYKcmyk(3.7%, 81.7%, 0%, 67.8%)
CIE-LABlab(18.42, 37.94, -25.20)
CIE-LCHlch(18.42, 45.55, 326.41°)
OKLaboklab(31.33% 0.1042 -0.0701)
OKLCHoklch(31.33% 0.126 326.1)
XYZxyz(4.9182, 2.6134, 8.2264)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F52 #12520F
analogous
#2E0F52 #4F0F52 #520F34
triadic
#4F0F52 #524F0F #0F524F
tetradic
#4F0F52 #522E0F #12520F #0F3452
square
#4F0F52 #522E0F #12520F #0F3452
split-complementary
#4F0F52 #34520F #0F522E
monochromatic
#19051A #1D061E #4F0F52 #811886 #B322B9

Accessibility & contrast

On white

13.79
#4F0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F52
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F52#FFFFFF#000000##FFFFFF
##4F0F521.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#511B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0f52;
/* rgb */ color: rgb(79, 15, 82);
/* oklch */ color: oklch(31.3% 0.126 326.1);
Tailwind
colors: {
  custom: {
    50: '#835683',
    500: '#4f0f52',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f52;
$custom-light: #835683;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f52",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 297.313,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.12557,
    "h": 326.1
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#4F0F52
secondary
#358C31
accent
#EC3C44
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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