#4F0C4C#4F0C4C

#4F0C4C is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.7% C 0.124 H 330.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4F0C4C
RGBrgb(79, 12, 76)
HSLhsl(303, 74%, 18%)
HSVhsv(303, 85%, 31%)
CMYKcmyk(0%, 84.8%, 3.8%, 69%)
CIE-LABlab(17.68, 37.84, -22.29)
CIE-LCHlch(17.68, 43.92, 329.49°)
OKLaboklab(30.68% 0.1072 -0.0616)
OKLCHoklch(30.68% 0.124 330.1)
XYZxyz(4.6604, 2.4474, 7.0630)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C4C #0C4F0F
analogous
#310C4F #4F0C4C #4F0C2A
triadic
#4F0C4C #4C4F0C #0C4C4F
tetradic
#4F0C4C #4F310C #0C4F0F #0C2A4F
square
#4F0C4C #4F310C #0C4F0F #0C2A4F
split-complementary
#4F0C4C #2A4F0C #0C4F31
monochromatic
#1B041A #1B041A #4F0C4C #84147F #B91CB2

Accessibility & contrast

On white

14.10
#4F0C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F0C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C4C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C4C#FFFFFF#000000##FFFFFF
##4F0C4C1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#52162C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c4c;
/* rgb */ color: rgb(79, 12, 76);
/* oklch */ color: oklch(30.7% 0.124 330.1);
Tailwind
colors: {
  custom: {
    50: '#83547e',
    500: '#4f0c4c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c4c;
$custom-light: #83547e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c4c",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 302.687,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30676,
    "c": 0.12366,
    "h": 330.1
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#4F0C4C
secondary
#2C8B31
accent
#F04038
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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