#4F0F71#4F0F71

#4F0F71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.154 H 309.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#4F0F71
RGBrgb(79, 15, 113)
HSLhsl(279, 77%, 25%)
HSVhsv(279, 87%, 44%)
CMYKcmyk(30.1%, 86.7%, 0%, 55.7%)
CIE-LABlab(20.81, 44.47, -41.85)
CIE-LCHlch(20.81, 61.07, 316.74°)
OKLaboklab(33.77% 0.0986 -0.1189)
OKLCHoklch(33.77% 0.154 309.7)
XYZxyz(6.3753, 3.1963, 15.9007)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F71 #31710F
analogous
#1E0F71 #4F0F71 #710F62
triadic
#4F0F71 #714F0F #0F714F
tetradic
#4F0F71 #711E0F #31710F #0F6271
square
#4F0F71 #711E0F #31710F #0F6271
split-complementary
#4F0F71 #62710F #0F711E
monochromatic
#13041B #29083B #4F0F71 #7516A7 #9B1DDD

Accessibility & contrast

On white

12.81
#4F0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F71
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F71#FFFFFF#000000##FFFFFF
##4F0F711.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#4A2A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f0f71;
/* rgb */ color: rgb(79, 15, 113);
/* oklch */ color: oklch(33.8% 0.154 309.7);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#4f0f71',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f71;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f71",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 279.184,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.15447,
    "h": 309.7
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#4F0F71
secondary
#5CA933
accent
#F33577
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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