#4F1380#4F1380

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

Color values

HEX#4F1380
RGBrgb(79, 19, 128)
HSLhsl(273, 74%, 29%)
HSVhsv(273, 85%, 50%)
CMYKcmyk(38.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(22.61, 46.64, -48.52)
CIE-LCHlch(22.61, 67.30, 313.87°)
OKLaboklab(35.43% 0.091 -0.1385)
OKLCHoklch(35.43% 0.166 303.3)
XYZxyz(7.3527, 3.6865, 20.7421)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1380 #448013
analogous
#191380 #4F1380 #80137B
triadic
#4F1380 #804F13 #13804F
tetradic
#4F1380 #801913 #448013 #137B80
square
#4F1380 #801913 #448013 #137B80
split-complementary
#4F1380 #7B8013 #138019
monochromatic
#10041B #2E0B4B #4F1380 #701BB5 #902DE0

Accessibility & contrast

On white

12.09
#4F1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1380
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1380#FFFFFF#000000##FFFFFF
##4F13801.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.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: #4f1380;
/* rgb */ color: rgb(79, 19, 128);
/* oklch */ color: oklch(35.4% 0.166 303.3);
Tailwind
colors: {
  custom: {
    50: '#865aa6',
    500: '#4f1380',
    950: '#000000',
  },
}
SCSS
$custom: #4f1380;
$custom-light: #865aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1380",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 273.028,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.16571,
    "h": 303.3
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#4F1380
secondary
#71B539
accent
#F1378B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1380

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

Preview Lab → · Contrast checker → · Palette generator →

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