#4F1E84#4F1E84

#4F1E84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.159 H 300.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#4F1E84
RGBrgb(79, 30, 132)
HSLhsl(269, 63%, 32%)
HSVhsv(269, 77%, 52%)
CMYKcmyk(40.2%, 77.3%, 0%, 48.2%)
CIE-LABlab(24.50, 43.19, -47.94)
CIE-LCHlch(24.50, 64.52, 312.01°)
OKLaboklab(36.86% 0.0806 -0.1369)
OKLCHoklch(36.86% 0.159 300.5)
XYZxyz(7.8525, 4.2567, 22.2332)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E84 #53841E
analogous
#1E2084 #4F1E84 #821E84
triadic
#4F1E84 #844F1E #1E844F
tetradic
#4F1E84 #841E20 #53841E #1E8482
square
#4F1E84 #841E20 #53841E #1E8482
split-complementary
#4F1E84 #84821E #20841E
monochromatic
#130720 #311352 #4F1E84 #6D29B6 #8B47D5

Accessibility & contrast

On white

11.34
#4F1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E84
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E84#FFFFFF#000000##FFFFFF
##4F1E841.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#433850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1e84;
/* rgb */ color: rgb(79, 30, 132);
/* oklch */ color: oklch(36.9% 0.159 300.5);
Tailwind
colors: {
  custom: {
    50: '#865fa9',
    500: '#4f1e84',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e84;
$custom-light: #865fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e84",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 268.824,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36862,
    "c": 0.15885,
    "h": 300.5
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#4F1E84
secondary
#81B747
accent
#E64297
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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