#4F1480#4F1480

#4F1480 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.165 H 303.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#4F1480
RGBrgb(79, 20, 128)
HSLhsl(273, 73%, 29%)
HSVhsv(273, 84%, 50%)
CMYKcmyk(38.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(22.73, 46.29, -48.32)
CIE-LCHlch(22.73, 66.91, 313.77°)
OKLaboklab(35.51% 0.0902 -0.1379)
OKLCHoklch(35.51% 0.165 303.2)
XYZxyz(7.3700, 3.7211, 20.7479)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1480 #458014
analogous
#191480 #4F1480 #80147B
triadic
#4F1480 #804F14 #14804F
tetradic
#4F1480 #801914 #458014 #147B80
square
#4F1480 #801914 #458014 #147B80
split-complementary
#4F1480 #7B8014 #148019
monochromatic
#10041A #2E0C4B #4F1480 #701CB5 #8F30DF

Accessibility & contrast

On white

12.04
#4F1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4F1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1480
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1480#FFFFFF#000000##FFFFFF
##4F14801.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#45324B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1480;
/* rgb */ color: rgb(79, 20, 128);
/* oklch */ color: oklch(35.5% 0.165 303.2);
Tailwind
colors: {
  custom: {
    50: '#865aa6',
    500: '#4f1480',
    950: '#000000',
  },
}
SCSS
$custom: #4f1480;
$custom-light: #865aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1480",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 272.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.16482,
    "h": 303.2
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#4F1480
secondary
#72B53B
accent
#F0388B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1480

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

Preview Lab → · Contrast checker → · Palette generator →

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