#4F0C49#4F0C49

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

Color values

HEX#4F0C49
RGBrgb(79, 12, 73)
HSLhsl(305, 74%, 18%)
HSVhsv(305, 85%, 31%)
CMYKcmyk(0%, 84.8%, 7.6%, 69%)
CIE-LABlab(17.49, 37.31, -20.53)
CIE-LCHlch(17.49, 42.58, 331.18°)
OKLaboklab(30.48% 0.1072 -0.0565)
OKLCHoklch(30.48% 0.121 332.2)
XYZxyz(4.5585, 2.4066, 6.5265)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C49 #0C4F12
analogous
#330C4F #4F0C49 #4F0C27
triadic
#4F0C49 #494F0C #0C494F
tetradic
#4F0C49 #4F330C #0C4F12 #0C274F
square
#4F0C49 #4F330C #0C4F12 #0C274F
split-complementary
#4F0C49 #274F0C #0C4F33
monochromatic
#1B0419 #1B0419 #4F0C49 #84147A #B91CAB

Accessibility & contrast

On white

14.18
#4F0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C49
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C49#FFFFFF#000000##FFFFFF
##4F0C491.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254B
Deuteranopia (green-blind)
#232E47
Tritanopia (blue-blind)
#53142A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0c49;
/* rgb */ color: rgb(79, 12, 73);
/* oklch */ color: oklch(30.5% 0.121 332.2);
Tailwind
colors: {
  custom: {
    50: '#83547c',
    500: '#4f0c49',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c49;
$custom-light: #83547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c49",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 305.373,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30481,
    "c": 0.12117,
    "h": 332.2
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#4F0C49
secondary
#2C8B35
accent
#F04838
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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