#4F1679#4F1679

#4F1679 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.156 H 305.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4F1679
RGBrgb(79, 22, 121)
HSLhsl(275, 69%, 28%)
HSVhsv(275, 82%, 47%)
CMYKcmyk(34.7%, 81.8%, 0%, 52.5%)
CIE-LABlab(22.36, 43.85, -44.47)
CIE-LCHlch(22.36, 62.45, 314.60°)
OKLaboklab(35.06% 0.0907 -0.1266)
OKLCHoklch(35.06% 0.156 305.6)
XYZxyz(6.9618, 3.6166, 18.4168)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1679 #407916
analogous
#1D1679 #4F1679 #791672
triadic
#4F1679 #794F16 #16794F
tetradic
#4F1679 #791D16 #407916 #167279
square
#4F1679 #791D16 #407916 #167279
split-complementary
#4F1679 #727916 #16791D
monochromatic
#11051A #2D0D45 #4F1679 #711FAD #9230D9

Accessibility & contrast

On white

12.19
#4F1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1679
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1679#FFFFFF#000000##FFFFFF
##4F16791.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#473048
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1679;
/* rgb */ color: rgb(79, 22, 121);
/* oklch */ color: oklch(35.1% 0.156 305.6);
Tailwind
colors: {
  custom: {
    50: '#855ba0',
    500: '#4f1679',
    950: '#000000',
  },
}
SCSS
$custom: #4f1679;
$custom-light: #855ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1679",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 274.545,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.15578,
    "h": 305.6
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#4F1679
secondary
#6DAE3D
accent
#EC3C87
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1679

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

Preview Lab → · Contrast checker → · Palette generator →

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