#4F2779#4F2779

#4F2779 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.134 H 302.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4F2779
RGBrgb(79, 39, 121)
HSLhsl(269, 51%, 31%)
HSVhsv(269, 68%, 47%)
CMYKcmyk(34.7%, 67.8%, 0%, 52.5%)
CIE-LABlab(25.24, 35.74, -39.79)
CIE-LCHlch(25.24, 53.49, 311.93°)
OKLaboklab(37.11% 0.0727 -0.113)
OKLCHoklch(37.11% 0.134 302.7)
XYZxyz(7.4004, 4.4938, 18.5630)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2779 #517927
analogous
#272879 #4F2779 #782779
triadic
#4F2779 #794F27 #27794F
tetradic
#4F2779 #792728 #517927 #277978
square
#4F2779 #792728 #517927 #277978
split-complementary
#4F2779 #797827 #287927
monochromatic
#13091C #31184B #4F2779 #6D36A7 #8C53C8

Accessibility & contrast

On white

11.06
#4F2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2779
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2779#FFFFFF#000000##FFFFFF
##4F27791.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#093C77
Tritanopia (blue-blind)
#47394C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2779;
/* rgb */ color: rgb(79, 39, 121);
/* oklch */ color: oklch(37.1% 0.134 302.7);
Tailwind
colors: {
  custom: {
    50: '#8464a0',
    500: '#4f2779',
    950: '#000000',
  },
}
SCSS
$custom: #4f2779;
$custom-light: #8464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2779",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 269.268,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.13436,
    "h": 302.7
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#4F2779
secondary
#7FAB51
accent
#DB4D96
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050F
muted
#7C7A7E

Preview Lab

Preview with #4F2779

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

Preview Lab → · Contrast checker → · Palette generator →

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