#4F1072#4F1072

#4F1072 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.155 H 309.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4F1072
RGBrgb(79, 16, 114)
HSLhsl(279, 75%, 25%)
HSVhsv(279, 86%, 45%)
CMYKcmyk(30.7%, 86%, 0%, 55.3%)
CIE-LABlab(21.01, 44.38, -42.17)
CIE-LCHlch(21.01, 61.22, 316.46°)
OKLaboklab(33.93% 0.0976 -0.1199)
OKLCHoklch(33.93% 0.155 309.1)
XYZxyz(6.4464, 3.2479, 16.2036)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1072 #337210
analogous
#1E1072 #4F1072 #721064
triadic
#4F1072 #724F10 #10724F
tetradic
#4F1072 #721E10 #337210 #106472
square
#4F1072 #721E10 #337210 #106472
split-complementary
#4F1072 #647210 #10721E
monochromatic
#13041B #2A083C #4F1072 #7418A8 #991FDD

Accessibility & contrast

On white

12.73
#4F1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1072
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1072#FFFFFF#000000##FFFFFF
##4F10721.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#4A2A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1072;
/* rgb */ color: rgb(79, 16, 114);
/* oklch */ color: oklch(33.9% 0.155 309.1);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#4f1072',
    950: '#000000',
  },
}
SCSS
$custom: #4f1072;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1072",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 278.571,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33934,
    "c": 0.15455,
    "h": 309.1
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#4F1072
secondary
#5EA934
accent
#F23679
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1072

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

Preview Lab → · Contrast checker → · Palette generator →

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