#4F1481#4F1481

#4F1481 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.166 H 302.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4F1481
RGBrgb(79, 20, 129)
HSLhsl(272, 73%, 29%)
HSVhsv(272, 84%, 51%)
CMYKcmyk(38.8%, 84.5%, 0%, 49.4%)
CIE-LABlab(22.82, 46.53, -48.80)
CIE-LCHlch(22.82, 67.43, 313.63°)
OKLaboklab(35.6% 0.0899 -0.1394)
OKLCHoklch(35.6% 0.166 302.8)
XYZxyz(7.4361, 3.7475, 21.0962)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1481 #468114
analogous
#191481 #4F1481 #81147D
triadic
#4F1481 #814F14 #14814F
tetradic
#4F1481 #811914 #468114 #147D81
square
#4F1481 #811914 #468114 #147D81
split-complementary
#4F1481 #7D8114 #148119
monochromatic
#10041A #2F0C4C #4F1481 #6F1CB6 #8F30DF

Accessibility & contrast

On white

12.00
#4F1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1481
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1481#FFFFFF#000000##FFFFFF
##4F14811.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#44334C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1481;
/* rgb */ color: rgb(79, 20, 129);
/* oklch */ color: oklch(35.6% 0.166 302.8);
Tailwind
colors: {
  custom: {
    50: '#865ba6',
    500: '#4f1481',
    950: '#000000',
  },
}
SCSS
$custom: #4f1481;
$custom-light: #865ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1481",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 272.477,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35603,
    "c": 0.16584,
    "h": 302.8
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#4F1481
secondary
#73B63B
accent
#F0388C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1481

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

Preview Lab → · Contrast checker → · Palette generator →

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