#4F0F58#4F0F58

#4F0F58 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.131 H 322.4°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#4F0F58
RGBrgb(79, 15, 88)
HSLhsl(293, 71%, 20%)
HSVhsv(293, 83%, 35%)
CMYKcmyk(10.2%, 83%, 0%, 65.5%)
CIE-LABlab(18.84, 39.12, -28.58)
CIE-LCHlch(18.84, 48.45, 323.84°)
OKLaboklab(31.76% 0.1037 -0.08)
OKLCHoklch(31.76% 0.131 322.4)
XYZxyz(5.1565, 2.7088, 9.4819)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F58 #18580F
analogous
#2B0F58 #4F0F58 #580F3C
triadic
#4F0F58 #584F0F #0F584F
tetradic
#4F0F58 #582B0F #18580F #0F3C58
square
#4F0F58 #582B0F #18580F #0F3C58
split-complementary
#4F0F58 #3C580F #0F582B
monochromatic
#17041A #200624 #4F0F58 #7E188C #AD21C1

Accessibility & contrast

On white

13.62
#4F0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F58
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F58#FFFFFF#000000##FFFFFF
##4F0F581.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#501E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f0f58;
/* rgb */ color: rgb(79, 15, 88);
/* oklch */ color: oklch(31.8% 0.131 322.4);
Tailwind
colors: {
  custom: {
    50: '#835687',
    500: '#4f0f58',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f58;
$custom-light: #835687;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f58",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 292.603,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.13099,
    "h": 322.4
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#4F0F58
secondary
#3D9231
accent
#EE3A50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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