#4F1577#4F1577

#4F1577 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.155 H 306.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#4F1577
RGBrgb(79, 21, 119)
HSLhsl(276, 70%, 27%)
HSVhsv(276, 82%, 47%)
CMYKcmyk(33.6%, 82.4%, 0%, 53.3%)
CIE-LABlab(22.05, 43.76, -43.69)
CIE-LCHlch(22.05, 61.83, 315.05°)
OKLaboklab(34.8% 0.0921 -0.1243)
OKLCHoklch(34.8% 0.155 306.5)
XYZxyz(6.8217, 3.5306, 17.7713)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1577 #3D7715
analogous
#1E1577 #4F1577 #77156E
triadic
#4F1577 #774F15 #15774F
tetradic
#4F1577 #771E15 #3D7715 #156E77
square
#4F1577 #771E15 #3D7715 #156E77
split-complementary
#4F1577 #6E7715 #15771E
monochromatic
#11051A #2C0C43 #4F1577 #721EAB #932DDA

Accessibility & contrast

On white

12.31
#4F1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4F1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1577
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1577#FFFFFF#000000##FFFFFF
##4F15771.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1577;
/* rgb */ color: rgb(79, 21, 119);
/* oklch */ color: oklch(34.8% 0.155 306.5);
Tailwind
colors: {
  custom: {
    50: '#855a9f',
    500: '#4f1577',
    950: '#000000',
  },
}
SCSS
$custom: #4f1577;
$custom-light: #855a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1577",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 275.51,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34796,
    "c": 0.15475,
    "h": 306.5
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#4F1577
secondary
#69AD3B
accent
#ED3B84
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4F1577

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

Preview Lab → · Contrast checker → · Palette generator →

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