#4F1580#4F1580

#4F1580 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.164 H 303.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4F1580
RGBrgb(79, 21, 128)
HSLhsl(273, 72%, 29%)
HSVhsv(273, 84%, 50%)
CMYKcmyk(38.3%, 83.6%, 0%, 49.8%)
CIE-LABlab(22.85, 45.92, -48.11)
CIE-LCHlch(22.85, 66.51, 313.66°)
OKLaboklab(35.6% 0.0895 -0.1373)
OKLCHoklch(35.6% 0.164 303.1)
XYZxyz(7.3880, 3.7571, 20.7539)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1580 #468015
analogous
#191580 #4F1580 #80157C
triadic
#4F1580 #804F15 #15804F
tetradic
#4F1580 #801915 #468015 #157C80
square
#4F1580 #801915 #468015 #157C80
split-complementary
#4F1580 #7C8015 #158019
monochromatic
#10041A #2F0C4B #4F1580 #6F1EB5 #8F32DD

Accessibility & contrast

On white

11.99
#4F1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4F1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1580
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1580#FFFFFF#000000##FFFFFF
##4F15801.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1580;
/* rgb */ color: rgb(79, 21, 128);
/* oklch */ color: oklch(35.6% 0.164 303.1);
Tailwind
colors: {
  custom: {
    50: '#865ba6',
    500: '#4f1580',
    950: '#000000',
  },
}
SCSS
$custom: #4f1580;
$custom-light: #865ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1580",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 272.523,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.16391,
    "h": 303.1
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#4F1580
secondary
#73B53C
accent
#EF398C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1580

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

Preview Lab → · Contrast checker → · Palette generator →

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