#4F0B48#4F0B48

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

Color values

HEX#4F0B48
RGBrgb(79, 11, 72)
HSLhsl(306, 76%, 18%)
HSVhsv(306, 86%, 31%)
CMYKcmyk(0%, 86.1%, 8.9%, 69%)
CIE-LABlab(17.32, 37.45, -20.11)
CIE-LCHlch(17.32, 42.50, 331.76°)
OKLaboklab(30.34% 0.1081 -0.0553)
OKLCHoklch(30.34% 0.121 332.9)
XYZxyz(4.5138, 2.3699, 6.3493)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B48 #0B4F12
analogous
#340B4F #4F0B48 #4F0B26
triadic
#4F0B48 #484F0B #0B484F
tetradic
#4F0B48 #4F340B #0B4F12 #0B264F
square
#4F0B48 #4F340B #0B4F12 #0B264F
split-complementary
#4F0B48 #264F0B #0B4F34
monochromatic
#1B0418 #1B0418 #4F0B48 #851279 #BA1AAA

Accessibility & contrast

On white

14.25
#4F0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0B48
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B48#FFFFFF#000000##FFFFFF
##4F0B481.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0b48;
/* rgb */ color: rgb(79, 11, 72);
/* oklch */ color: oklch(30.3% 0.121 332.9);
Tailwind
colors: {
  custom: {
    50: '#83547b',
    500: '#4f0b48',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b48;
$custom-light: #83547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b48",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 306.176,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30339,
    "c": 0.1214,
    "h": 332.9
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#4F0B48
secondary
#2B8B35
accent
#F24936
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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