#4F0F4C#4F0F4C

#4F0F4C is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.120 H 330.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4F0F4C
RGBrgb(79, 15, 76)
HSLhsl(303, 68%, 18%)
HSVhsv(303, 81%, 31%)
CMYKcmyk(0%, 81%, 3.8%, 69%)
CIE-LABlab(18.04, 36.81, -21.73)
CIE-LCHlch(18.04, 42.75, 329.45°)
OKLaboklab(30.93% 0.1043 -0.06)
OKLCHoklch(30.93% 0.12 330.1)
XYZxyz(4.6998, 2.5261, 7.0761)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F4C #0F4F12
analogous
#320F4F #4F0F4C #4F0F2C
triadic
#4F0F4C #4C4F0F #0F4C4F
tetradic
#4F0F4C #4F320F #0F4F12 #0F2C4F
square
#4F0F4C #4F320F #0F4F12 #0F2C4F
split-complementary
#4F0F4C #2C4F0F #0F4F32
monochromatic
#1A0519 #1C051B #4F0F4C #82197D #B623AF

Accessibility & contrast

On white

13.95
#4F0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F4C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F4C#FFFFFF#000000##FFFFFF
##4F0F4C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274E
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#52182C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f4c;
/* rgb */ color: rgb(79, 15, 76);
/* oklch */ color: oklch(30.9% 0.120 330.1);
Tailwind
colors: {
  custom: {
    50: '#83557e',
    500: '#4f0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f4c;
$custom-light: #83557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f4c",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 302.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30932,
    "c": 0.1203,
    "h": 330.1
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4F0F4C
secondary
#318935
accent
#EB453D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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