#4F0F53#4F0F53

#4F0F53 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.126 H 325.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4F0F53
RGBrgb(79, 15, 83)
HSLhsl(296, 69%, 19%)
HSVhsv(296, 82%, 33%)
CMYKcmyk(4.8%, 81.9%, 0%, 67.5%)
CIE-LABlab(18.49, 38.13, -25.77)
CIE-LCHlch(18.49, 46.02, 325.95°)
OKLaboklab(31.4% 0.1041 -0.0717)
OKLCHoklch(31.4% 0.126 325.4)
XYZxyz(4.9565, 2.6288, 8.4283)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F53 #13530F
analogous
#2D0F53 #4F0F53 #530F35
triadic
#4F0F53 #534F0F #0F534F
tetradic
#4F0F53 #532D0F #13530F #0F3553
square
#4F0F53 #532D0F #13530F #0F3553
split-complementary
#4F0F53 #35530F #0F532D
monochromatic
#19051A #1E061F #4F0F53 #801887 #B222BB

Accessibility & contrast

On white

13.77
#4F0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F53
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F53#FFFFFF#000000##FFFFFF
##4F0F531.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002855
Deuteranopia (green-blind)
#1E3051
Tritanopia (blue-blind)
#511B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0f53;
/* rgb */ color: rgb(79, 15, 83);
/* oklch */ color: oklch(31.4% 0.126 325.4);
Tailwind
colors: {
  custom: {
    50: '#835684',
    500: '#4f0f53',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f53;
$custom-light: #835684;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f53",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 296.471,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31403,
    "c": 0.12646,
    "h": 325.4
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4F0F53
secondary
#368D31
accent
#EC3C46
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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