#4F0B4D#4F0B4D

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

Color values

HEX#4F0B4D
RGBrgb(79, 11, 77)
HSLhsl(302, 76%, 18%)
HSVhsv(302, 86%, 31%)
CMYKcmyk(0%, 86.1%, 2.5%, 69%)
CIE-LABlab(17.63, 38.33, -23.05)
CIE-LCHlch(17.63, 44.73, 328.98°)
OKLaboklab(30.67% 0.1081 -0.0638)
OKLCHoklch(30.67% 0.126 329.5)
XYZxyz(4.6836, 2.4378, 7.2436)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B4D #0B4F0D
analogous
#2F0B4F #4F0B4D #4F0B2B
triadic
#4F0B4D #4D4F0B #0B4D4F
tetradic
#4F0B4D #4F2F0B #0B4F0D #0B2B4F
square
#4F0B4D #4F2F0B #0B4F0D #0B2B4F
split-complementary
#4F0B4D #2B4F0B #0B4F2F
monochromatic
#1B041A #1B041A #4F0B4D #851281 #BA1AB6

Accessibility & contrast

On white

14.12
#4F0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0B4D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B4D#FFFFFF#000000##FFFFFF
##4F0B4D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01264F
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#52162C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0b4d;
/* rgb */ color: rgb(79, 11, 77);
/* oklch */ color: oklch(30.7% 0.126 329.5);
Tailwind
colors: {
  custom: {
    50: '#83547f',
    500: '#4f0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b4d;
$custom-light: #83547f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b4d",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 301.765,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30666,
    "c": 0.12552,
    "h": 329.5
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#4F0B4D
secondary
#2B8B2E
accent
#F23B36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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