#4F1777#4F1777

#4F1777 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.153 H 306.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4F1777
RGBrgb(79, 23, 119)
HSLhsl(275, 68%, 28%)
HSVhsv(275, 81%, 47%)
CMYKcmyk(33.6%, 80.7%, 0%, 53.3%)
CIE-LABlab(22.33, 42.97, -43.24)
CIE-LCHlch(22.33, 60.96, 314.82°)
OKLaboklab(34.99% 0.0904 -0.1231)
OKLCHoklch(34.99% 0.153 306.3)
XYZxyz(6.8599, 3.6070, 17.7840)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1777 #3F7717
analogous
#1F1777 #4F1777 #77176F
triadic
#4F1777 #774F17 #17774F
tetradic
#4F1777 #771F17 #3F7717 #176F77
square
#4F1777 #771F17 #3F7717 #176F77
split-complementary
#4F1777 #6F7717 #17771F
monochromatic
#11051A #2D0D44 #4F1777 #7121AA #9231D7

Accessibility & contrast

On white

12.20
#4F1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1777
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1777#FFFFFF#000000##FFFFFF
##4F17771.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#483047
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1777;
/* rgb */ color: rgb(79, 23, 119);
/* oklch */ color: oklch(35.0% 0.153 306.3);
Tailwind
colors: {
  custom: {
    50: '#855b9f',
    500: '#4f1777',
    950: '#000000',
  },
}
SCSS
$custom: #4f1777;
$custom-light: #855b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1777",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 275,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.15267,
    "h": 306.3
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#4F1777
secondary
#6CAC3E
accent
#EA3D85
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1777

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

Preview Lab → · Contrast checker → · Palette generator →

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