#4F1E80#4F1E80

#4F1E80 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.154 H 301.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4F1E80
RGBrgb(79, 30, 128)
HSLhsl(270, 62%, 31%)
HSVhsv(270, 77%, 50%)
CMYKcmyk(38.3%, 76.6%, 0%, 49.8%)
CIE-LABlab(24.16, 42.16, -45.98)
CIE-LCHlch(24.16, 62.38, 312.52°)
OKLaboklab(36.51% 0.0815 -0.1311)
OKLCHoklch(36.51% 0.154 301.9)
XYZxyz(7.5841, 4.1493, 20.8192)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E80 #4F801E
analogous
#1E1E80 #4F1E80 #801E80
triadic
#4F1E80 #804F1E #1E804F
tetradic
#4F1E80 #801E1E #4F801E #1E8080
square
#4F1E80 #801E1E #4F801E #1E8080
split-complementary
#4F1E80 #80801E #1E801E
monochromatic
#12071D #30124E #4F1E80 #6E2AB2 #8C45D3

Accessibility & contrast

On white

11.48
#4F1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E80
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E80#FFFFFF#000000##FFFFFF
##4F1E801.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#44374D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1e80;
/* rgb */ color: rgb(79, 30, 128);
/* oklch */ color: oklch(36.5% 0.154 301.9);
Tailwind
colors: {
  custom: {
    50: '#855fa6',
    500: '#4f1e80',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e80;
$custom-light: #855fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e80",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 270,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36513,
    "c": 0.15442,
    "h": 301.9
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#4F1E80
secondary
#7DB347
accent
#E54394
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #4F1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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