#4F1477#4F1477

#4F1477 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.156 H 306.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4F1477
RGBrgb(79, 20, 119)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 47%)
CMYKcmyk(33.6%, 83.2%, 0%, 53.3%)
CIE-LABlab(21.92, 44.14, -43.90)
CIE-LCHlch(21.92, 62.25, 315.15°)
OKLaboklab(34.71% 0.093 -0.125)
OKLCHoklch(34.71% 0.156 306.6)
XYZxyz(6.8037, 3.4946, 17.7653)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1477 #3C7714
analogous
#1E1477 #4F1477 #77146D
triadic
#4F1477 #774F14 #14774F
tetradic
#4F1477 #771E14 #3C7714 #146D77
square
#4F1477 #771E14 #3C7714 #146D77
split-complementary
#4F1477 #6D7714 #14771E
monochromatic
#11041A #2C0B43 #4F1477 #721DAB #942ADB

Accessibility & contrast

On white

12.36
#4F1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4F1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1477
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1477#FFFFFF#000000##FFFFFF
##4F14771.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#482E46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1477;
/* rgb */ color: rgb(79, 20, 119);
/* oklch */ color: oklch(34.7% 0.156 306.6);
Tailwind
colors: {
  custom: {
    50: '#855a9f',
    500: '#4f1477',
    950: '#000000',
  },
}
SCSS
$custom: #4f1477;
$custom-light: #855a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1477",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 275.758,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34705,
    "c": 0.15575,
    "h": 306.6
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#4F1477
secondary
#68AD3A
accent
#EE3A83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #4F1477

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

Preview Lab → · Contrast checker → · Palette generator →

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