#4F0F4A#4F0F4A

#4F0F4A is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.119 H 331.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4F0F4A
RGBrgb(79, 15, 74)
HSLhsl(305, 68%, 18%)
HSVhsv(305, 81%, 31%)
CMYKcmyk(0%, 81%, 6.3%, 69%)
CIE-LABlab(17.91, 36.45, -20.55)
CIE-LCHlch(17.91, 41.84, 330.59°)
OKLaboklab(30.8% 0.1042 -0.0566)
OKLCHoklch(30.8% 0.119 331.5)
XYZxyz(4.6313, 2.4987, 6.7156)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F4A #0F4F14
analogous
#340F4F #4F0F4A #4F0F2A
triadic
#4F0F4A #4A4F0F #0F4A4F
tetradic
#4F0F4A #4F340F #0F4F14 #0F2A4F
square
#4F0F4A #4F340F #0F4F14 #0F2A4F
split-complementary
#4F0F4A #2A4F0F #0F4F34
monochromatic
#1A0518 #1C051A #4F0F4A #82197A #B623AA

Accessibility & contrast

On white

14.00
#4F0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F4A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F4A#FFFFFF#000000##FFFFFF
##4F0F4A1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264C
Deuteranopia (green-blind)
#232F48
Tritanopia (blue-blind)
#53172B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f4a;
/* rgb */ color: rgb(79, 15, 74);
/* oklch */ color: oklch(30.8% 0.119 331.5);
Tailwind
colors: {
  custom: {
    50: '#83557d',
    500: '#4f0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f4a;
$custom-light: #83557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f4a",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 304.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30803,
    "c": 0.11859,
    "h": 331.5
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#4F0F4A
secondary
#318938
accent
#EB4A3D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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