#4F0C48#4F0C48

#4F0C48 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.120 H 332.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#4F0C48
RGBrgb(79, 12, 72)
HSLhsl(306, 74%, 18%)
HSVhsv(306, 85%, 31%)
CMYKcmyk(0%, 84.8%, 8.9%, 69%)
CIE-LABlab(17.43, 37.13, -19.93)
CIE-LCHlch(17.43, 42.14, 331.77°)
OKLaboklab(30.42% 0.1072 -0.0548)
OKLCHoklch(30.42% 0.12 332.9)
XYZxyz(4.5256, 2.3935, 6.3533)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C48 #0C4F13
analogous
#340C4F #4F0C48 #4F0C26
triadic
#4F0C48 #484F0C #0C484F
tetradic
#4F0C48 #4F340C #0C4F13 #0C264F
square
#4F0C48 #4F340C #0C4F13 #0C264F
split-complementary
#4F0C48 #264F0C #0C4F34
monochromatic
#1B0418 #1B0418 #4F0C48 #841478 #B91CA9

Accessibility & contrast

On white

14.20
#4F0C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F0C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C48
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C48#FFFFFF#000000##FFFFFF
##4F0C481.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08254A
Deuteranopia (green-blind)
#232E46
Tritanopia (blue-blind)
#531429
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c48;
/* rgb */ color: rgb(79, 12, 72);
/* oklch */ color: oklch(30.4% 0.120 332.9);
Tailwind
colors: {
  custom: {
    50: '#83547b',
    500: '#4f0c48',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c48;
$custom-light: #83547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c48",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 306.269,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30418,
    "c": 0.12034,
    "h": 332.9
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#4F0C48
secondary
#2C8B36
accent
#F04B38
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0C48

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

Preview Lab → · Contrast checker → · Palette generator →

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