#4F0F5E#4F0F5E

#4F0F5E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.137 H 319.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#4F0F5E
RGBrgb(79, 15, 94)
HSLhsl(289, 72%, 21%)
HSVhsv(289, 84%, 37%)
CMYKcmyk(16%, 84%, 0%, 63.1%)
CIE-LABlab(19.28, 40.35, -31.89)
CIE-LCHlch(19.28, 51.43, 321.68°)
OKLaboklab(32.21% 0.103 -0.0896)
OKLCHoklch(32.21% 0.137 319)
XYZxyz(5.4154, 2.8123, 10.8451)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F5E #1E5E0F
analogous
#280F5E #4F0F5E #5E0F46
triadic
#4F0F5E #5E4F0F #0F5E4F
tetradic
#4F0F5E #5E280F #1E5E0F #0F465E
square
#4F0F5E #5E280F #1E5E0F #0F465E
split-complementary
#4F0F5E #465E0F #0F5E28
monochromatic
#16041A #230729 #4F0F5E #7B1793 #A820C8

Accessibility & contrast

On white

13.44
#4F0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F5E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F5E#FFFFFF#000000##FFFFFF
##4F0F5E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#15315C
Tritanopia (blue-blind)
#4F2137
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f0f5e;
/* rgb */ color: rgb(79, 15, 94);
/* oklch */ color: oklch(32.2% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#84568c',
    500: '#4f0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f5e;
$custom-light: #84568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f5e",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 288.608,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3221,
    "c": 0.13651,
    "h": 319
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#4F0F5E
secondary
#459731
accent
#EF395B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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