#4F1E79#4F1E79

#4F1E79 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.147 H 304.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#4F1E79
RGBrgb(79, 30, 121)
HSLhsl(272, 60%, 30%)
HSVhsv(272, 75%, 47%)
CMYKcmyk(34.7%, 75.2%, 0%, 52.5%)
CIE-LABlab(23.58, 40.37, -42.49)
CIE-LCHlch(23.58, 58.61, 313.54°)
OKLaboklab(35.92% 0.083 -0.1209)
OKLCHoklch(35.92% 0.147 304.5)
XYZxyz(7.1391, 3.9713, 18.4759)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E79 #48791E
analogous
#221E79 #4F1E79 #791E76
triadic
#4F1E79 #794F1E #1E794F
tetradic
#4F1E79 #79221E #48791E #1E7679
square
#4F1E79 #79221E #48791E #1E7679
split-complementary
#4F1E79 #76791E #1E7922
monochromatic
#100619 #2F1248 #4F1E79 #6F2AAA #8E41D0

Accessibility & contrast

On white

11.70
#4F1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4F1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E79
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E79#FFFFFF#000000##FFFFFF
##4F1E791.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#473449
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f1e79;
/* rgb */ color: rgb(79, 30, 121);
/* oklch */ color: oklch(35.9% 0.147 304.5);
Tailwind
colors: {
  custom: {
    50: '#855fa0',
    500: '#4f1e79',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e79;
$custom-light: #855fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e79",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 272.308,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.14665,
    "h": 304.5
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#4F1E79
secondary
#75AD46
accent
#E3448E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #4F1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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