#4F0B4A#4F0B4A

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

Color values

HEX#4F0B4A
RGBrgb(79, 11, 74)
HSLhsl(304, 76%, 18%)
HSVhsv(304, 86%, 31%)
CMYKcmyk(0%, 86.1%, 6.3%, 69%)
CIE-LABlab(17.44, 37.80, -21.29)
CIE-LCHlch(17.44, 43.38, 330.61°)
OKLaboklab(30.47% 0.1081 -0.0587)
OKLCHoklch(30.47% 0.123 331.5)
XYZxyz(4.5802, 2.3964, 6.6986)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B4A #0B4F10
analogous
#320B4F #4F0B4A #4F0B28
triadic
#4F0B4A #4A4F0B #0B4A4F
tetradic
#4F0B4A #4F320B #0B4F10 #0B284F
square
#4F0B4A #4F320B #0B4F10 #0B284F
split-complementary
#4F0B4A #284F0B #0B4F32
monochromatic
#1B0419 #1B0419 #4F0B4A #85127C #BA1AAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F0B4A#FFFFFF#000000##FFFFFF
##4F0B4A1.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)
#05254C
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#53142A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0b4a;
/* rgb */ color: rgb(79, 11, 74);
/* oklch */ color: oklch(30.5% 0.123 331.5);
Tailwind
colors: {
  custom: {
    50: '#83547d',
    500: '#4f0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b4a;
$custom-light: #83547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b4a",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 304.412,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30467,
    "c": 0.12303,
    "h": 331.5
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#4F0B4A
secondary
#2B8B32
accent
#F24436
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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