#4F0F5C#4F0F5C

#4F0F5C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.135 H 320.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#4F0F5C
RGBrgb(79, 15, 92)
HSLhsl(290, 72%, 21%)
HSVhsv(290, 84%, 36%)
CMYKcmyk(14.1%, 83.7%, 0%, 63.9%)
CIE-LABlab(19.13, 39.93, -30.80)
CIE-LCHlch(19.13, 50.43, 322.36°)
OKLaboklab(32.06% 0.1033 -0.0864)
OKLCHoklch(32.06% 0.135 320.1)
XYZxyz(5.3268, 2.7769, 10.3786)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F5C #1C5C0F
analogous
#280F5C #4F0F5C #5C0F42
triadic
#4F0F5C #5C4F0F #0F5C4F
tetradic
#4F0F5C #5C280F #1C5C0F #0F425C
square
#4F0F5C #5C280F #1C5C0F #0F425C
split-complementary
#4F0F5C #425C0F #0F5C28
monochromatic
#17041A #220627 #4F0F5C #7C1891 #A920C5

Accessibility & contrast

On white

13.50
#4F0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F5C
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F5C#FFFFFF#000000##FFFFFF
##4F0F5C1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#4F2035
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f0f5c;
/* rgb */ color: rgb(79, 15, 92);
/* oklch */ color: oklch(32.1% 0.135 320.1);
Tailwind
colors: {
  custom: {
    50: '#83568b',
    500: '#4f0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f5c;
$custom-light: #83568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f5c",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 289.87,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32057,
    "c": 0.13466,
    "h": 320.1
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#4F0F5C
secondary
#429531
accent
#EF3958
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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