#4F0B4C#4F0B4C

#4F0B4C is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.125 H 330.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#4F0B4C
RGBrgb(79, 11, 76)
HSLhsl(303, 76%, 18%)
HSVhsv(303, 86%, 31%)
CMYKcmyk(0%, 86.1%, 3.8%, 69%)
CIE-LABlab(17.57, 38.15, -22.47)
CIE-LCHlch(17.57, 44.27, 329.51°)
OKLaboklab(30.6% 0.1081 -0.0621)
OKLCHoklch(30.6% 0.125 330.1)
XYZxyz(4.6486, 2.4238, 7.0591)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B4C #0B4F0E
analogous
#300B4F #4F0B4C #4F0B2A
triadic
#4F0B4C #4C4F0B #0B4C4F
tetradic
#4F0B4C #4F300B #0B4F0E #0B2A4F
square
#4F0B4C #4F300B #0B4F0E #0B2A4F
split-complementary
#4F0B4C #2A4F0B #0B4F30
monochromatic
#1B041A #1B041A #4F0B4C #851280 #BA1AB3

Accessibility & contrast

On white

14.15
#4F0B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0B4C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B4C#FFFFFF#000000##FFFFFF
##4F0B4C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#52152B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0b4c;
/* rgb */ color: rgb(79, 11, 76);
/* oklch */ color: oklch(30.6% 0.125 330.1);
Tailwind
colors: {
  custom: {
    50: '#83547e',
    500: '#4f0b4c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b4c;
$custom-light: #83547e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b4c",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 302.647,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30599,
    "c": 0.12468,
    "h": 330.1
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#4F0B4C
secondary
#2B8B2F
accent
#F23E36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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