#4F1779#4F1779

#4F1779 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.155 H 305.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#4F1779
RGBrgb(79, 23, 121)
HSLhsl(274, 68%, 28%)
HSVhsv(274, 81%, 47%)
CMYKcmyk(34.7%, 81%, 0%, 52.5%)
CIE-LABlab(22.50, 43.45, -44.24)
CIE-LCHlch(22.50, 62.01, 314.48°)
OKLaboklab(35.16% 0.0898 -0.126)
OKLCHoklch(35.16% 0.155 305.5)
XYZxyz(6.9813, 3.6556, 18.4233)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1779 #417917
analogous
#1E1779 #4F1779 #791772
triadic
#4F1779 #794F17 #17794F
tetradic
#4F1779 #791E17 #417917 #177279
square
#4F1779 #791E17 #417917 #177279
split-complementary
#4F1779 #727917 #17791E
monochromatic
#11051A #2D0D46 #4F1779 #7121AC #9132D8

Accessibility & contrast

On white

12.13
#4F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4F1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1779
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1779#FFFFFF#000000##FFFFFF
##4F17791.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#473048
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1779;
/* rgb */ color: rgb(79, 23, 121);
/* oklch */ color: oklch(35.2% 0.155 305.5);
Tailwind
colors: {
  custom: {
    50: '#855ba0',
    500: '#4f1779',
    950: '#000000',
  },
}
SCSS
$custom: #4f1779;
$custom-light: #855ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1779",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 274.286,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.15474,
    "h": 305.5
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#4F1779
secondary
#6EAE3E
accent
#EB3D87
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1779

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

Preview Lab → · Contrast checker → · Palette generator →

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