#4F1071#4F1071

#4F1071 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.154 H 309.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4F1071
RGBrgb(79, 16, 113)
HSLhsl(279, 75%, 25%)
HSVhsv(279, 86%, 44%)
CMYKcmyk(30.1%, 85.8%, 0%, 55.7%)
CIE-LABlab(20.92, 44.15, -41.67)
CIE-LCHlch(20.92, 60.71, 316.66°)
OKLaboklab(33.85% 0.0979 -0.1184)
OKLCHoklch(33.85% 0.154 309.6)
XYZxyz(6.3898, 3.2252, 15.9055)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1071 #327110
analogous
#1E1071 #4F1071 #711062
triadic
#4F1071 #714F10 #10714F
tetradic
#4F1071 #711E10 #327110 #106271
square
#4F1071 #711E10 #327110 #106271
split-complementary
#4F1071 #627110 #10711E
monochromatic
#13041B #2A083B #4F1071 #7418A7 #9A1FDC

Accessibility & contrast

On white

12.77
#4F1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1071
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1071#FFFFFF#000000##FFFFFF
##4F10711.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#4A2A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1071;
/* rgb */ color: rgb(79, 16, 113);
/* oklch */ color: oklch(33.8% 0.154 309.6);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#4f1071',
    950: '#000000',
  },
}
SCSS
$custom: #4f1071;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1071",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 278.969,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.15359,
    "h": 309.6
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#4F1071
secondary
#5DA934
accent
#F23678
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1071

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

Preview Lab → · Contrast checker → · Palette generator →

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