#4F0F57#4F0F57

#4F0F57 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.130 H 323.0°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4F0F57
RGBrgb(79, 15, 87)
HSLhsl(293, 71%, 20%)
HSVhsv(293, 83%, 34%)
CMYKcmyk(9.2%, 82.8%, 0%, 65.9%)
CIE-LABlab(18.77, 38.92, -28.03)
CIE-LCHlch(18.77, 47.96, 324.24°)
OKLaboklab(31.69% 0.1038 -0.0783)
OKLCHoklch(31.69% 0.13 323)
XYZxyz(5.1154, 2.6923, 9.2652)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F57 #17570F
analogous
#2B0F57 #4F0F57 #570F3B
triadic
#4F0F57 #574F0F #0F574F
tetradic
#4F0F57 #572B0F #17570F #0F3B57
square
#4F0F57 #572B0F #17570F #0F3B57
split-complementary
#4F0F57 #3B570F #0F572B
monochromatic
#18051A #200623 #4F0F57 #7E188B #AE21BF

Accessibility & contrast

On white

13.65
#4F0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F57
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F57#FFFFFF#000000##FFFFFF
##4F0F571.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#1B3055
Tritanopia (blue-blind)
#501D33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f0f57;
/* rgb */ color: rgb(79, 15, 87);
/* oklch */ color: oklch(31.7% 0.130 323.0);
Tailwind
colors: {
  custom: {
    50: '#835687',
    500: '#4f0f57',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f57;
$custom-light: #835687;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f57",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 293.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.31687,
    "c": 0.13007,
    "h": 323
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#4F0F57
secondary
#3C9131
accent
#ED3A4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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