#4F0D58#4F0D58

#4F0D58 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.133 H 322.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#4F0D58
RGBrgb(79, 13, 88)
HSLhsl(293, 74%, 20%)
HSVhsv(293, 85%, 35%)
CMYKcmyk(10.2%, 85.2%, 0%, 65.5%)
CIE-LABlab(18.61, 39.79, -28.96)
CIE-LCHlch(18.61, 49.21, 323.96°)
OKLaboklab(31.6% 0.1056 -0.081)
OKLCHoklch(31.6% 0.133 322.5)
XYZxyz(5.1296, 2.6550, 9.4729)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D58 #16580D
analogous
#2A0D58 #4F0D58 #580D3C
triadic
#4F0D58 #584F0D #0D584F
tetradic
#4F0D58 #582A0D #16580D #0D3C58
square
#4F0D58 #582A0D #16580D #0D3C58
split-complementary
#4F0D58 #3C580D #0D582A
monochromatic
#18041B #1F0523 #4F0D58 #7F158D #AF1DC3

Accessibility & contrast

On white

13.72
#4F0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F0D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D58
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D58#FFFFFF#000000##FFFFFF
##4F0D581.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#193056
Tritanopia (blue-blind)
#501D33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0d58;
/* rgb */ color: rgb(79, 13, 88);
/* oklch */ color: oklch(31.6% 0.133 322.5);
Tailwind
colors: {
  custom: {
    50: '#835587',
    500: '#4f0d58',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d58;
$custom-light: #835587;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d58",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 292.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31596,
    "c": 0.13307,
    "h": 322.5
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#4F0D58
secondary
#3A932E
accent
#F1374D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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