#4F1680#4F1680

#4F1680 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.163 H 303.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#4F1680
RGBrgb(79, 22, 128)
HSLhsl(272, 71%, 29%)
HSVhsv(272, 83%, 50%)
CMYKcmyk(38.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(22.98, 45.55, -47.90)
CIE-LCHlch(22.98, 66.10, 313.56°)
OKLaboklab(35.69% 0.0887 -0.1367)
OKLCHoklch(35.69% 0.163 303)
XYZxyz(7.4067, 3.7946, 20.7601)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1680 #478016
analogous
#1A1680 #4F1680 #80167C
triadic
#4F1680 #804F16 #16804F
tetradic
#4F1680 #801A16 #478016 #167C80
square
#4F1680 #801A16 #478016 #167C80
split-complementary
#4F1680 #7C8016 #16801A
monochromatic
#10041A #2F0D4C #4F1680 #6F1FB4 #8F34DC

Accessibility & contrast

On white

11.94
#4F1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4F1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1680
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1680#FFFFFF#000000##FFFFFF
##4F16801.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#45334C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f1680;
/* rgb */ color: rgb(79, 22, 128);
/* oklch */ color: oklch(35.7% 0.163 303.0);
Tailwind
colors: {
  custom: {
    50: '#865ba6',
    500: '#4f1680',
    950: '#000000',
  },
}
SCSS
$custom: #4f1680;
$custom-light: #865ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1680",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 272.264,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.16297,
    "h": 303
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#4F1680
secondary
#74B53D
accent
#ED3A8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1680

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

Preview Lab → · Contrast checker → · Palette generator →

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