#4F1473#4F1473

#4F1473 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.152 H 308.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#4F1473
RGBrgb(79, 20, 115)
HSLhsl(277, 70%, 26%)
HSVhsv(277, 83%, 45%)
CMYKcmyk(31.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(21.58, 43.20, -41.89)
CIE-LCHlch(21.58, 60.17, 315.88°)
OKLaboklab(34.36% 0.0941 -0.1191)
OKLCHoklch(34.36% 0.152 308.3)
XYZxyz(6.5685, 3.4005, 16.5267)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1473 #387314
analogous
#201473 #4F1473 #731468
triadic
#4F1473 #734F14 #14734F
tetradic
#4F1473 #732014 #387314 #146873
square
#4F1473 #732014 #387314 #146873
split-complementary
#4F1473 #687314 #147320
monochromatic
#12051A #2B0B3F #4F1473 #731DA7 #9628DA

Accessibility & contrast

On white

12.50
#4F1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4F1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1473
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1473#FFFFFF#000000##FFFFFF
##4F14731.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#492C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1473;
/* rgb */ color: rgb(79, 20, 115);
/* oklch */ color: oklch(34.4% 0.152 308.3);
Tailwind
colors: {
  custom: {
    50: '#855a9c',
    500: '#4f1473',
    950: '#000000',
  },
}
SCSS
$custom: #4f1473;
$custom-light: #855a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1473",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 277.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34358,
    "c": 0.15173,
    "h": 308.3
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#4F1473
secondary
#64A93A
accent
#ED3B7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1473

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

Preview Lab → · Contrast checker → · Palette generator →

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