#4F1471#4F1471

#4F1471 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.150 H 309.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#4F1471
RGBrgb(79, 20, 113)
HSLhsl(278, 70%, 26%)
HSVhsv(278, 82%, 44%)
CMYKcmyk(30.1%, 82.3%, 0%, 55.7%)
CIE-LABlab(21.41, 42.73, -40.87)
CIE-LCHlch(21.41, 59.13, 316.27°)
OKLaboklab(34.19% 0.0946 -0.1161)
OKLCHoklch(34.19% 0.15 309.2)
XYZxyz(6.4546, 3.3550, 15.9271)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1471 #367114
analogous
#211471 #4F1471 #711464
triadic
#4F1471 #714F14 #14714F
tetradic
#4F1471 #712114 #367114 #146471
square
#4F1471 #712114 #367114 #146471
split-complementary
#4F1471 #647114 #147121
monochromatic
#12051A #2B0B3D #4F1471 #731DA5 #9827D9

Accessibility & contrast

On white

12.57
#4F1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4F1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1471
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1471#FFFFFF#000000##FFFFFF
##4F14711.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#4A2C43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1471;
/* rgb */ color: rgb(79, 20, 113);
/* oklch */ color: oklch(34.2% 0.150 309.2);
Tailwind
colors: {
  custom: {
    50: '#855a9a',
    500: '#4f1471',
    950: '#000000',
  },
}
SCSS
$custom: #4f1471;
$custom-light: #855a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1471",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 278.065,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34188,
    "c": 0.14971,
    "h": 309.2
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#4F1471
secondary
#62A739
accent
#ED3B7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1471

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

Preview Lab → · Contrast checker → · Palette generator →

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