#4F1070#4F1070

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

Color values

HEX#4F1070
RGBrgb(79, 16, 112)
HSLhsl(279, 75%, 25%)
HSVhsv(279, 86%, 44%)
CMYKcmyk(29.5%, 85.7%, 0%, 56.1%)
CIE-LABlab(20.84, 43.93, -41.16)
CIE-LCHlch(20.84, 60.20, 316.86°)
OKLaboklab(33.76% 0.0981 -0.1169)
OKLCHoklch(33.76% 0.153 310)
XYZxyz(6.3338, 3.2028, 15.6106)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1070 #317010
analogous
#1F1070 #4F1070 #701061
triadic
#4F1070 #704F10 #10704F
tetradic
#4F1070 #701F10 #317010 #106170
square
#4F1070 #701F10 #317010 #106170
split-complementary
#4F1070 #617010 #10701F
monochromatic
#13041B #29083A #4F1070 #7518A6 #9B1FDB

Accessibility & contrast

On white

12.80
#4F1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1070
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1070#FFFFFF#000000##FFFFFF
##4F10701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#4A2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1070;
/* rgb */ color: rgb(79, 16, 112);
/* oklch */ color: oklch(33.8% 0.153 310.0);
Tailwind
colors: {
  custom: {
    50: '#85589a',
    500: '#4f1070',
    950: '#000000',
  },
}
SCSS
$custom: #4f1070;
$custom-light: #85589a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1070",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 279.375,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3376,
    "c": 0.15263,
    "h": 310
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#4F1070
secondary
#5CA834
accent
#F23677
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1070

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

Preview Lab → · Contrast checker → · Palette generator →

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