#4F1D86#4F1D86

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

Color values

HEX#4F1D86
RGBrgb(79, 29, 134)
HSLhsl(269, 64%, 32%)
HSVhsv(269, 78%, 53%)
CMYKcmyk(41%, 78.4%, 0%, 47.5%)
CIE-LABlab(24.52, 44.16, -49.17)
CIE-LCHlch(24.52, 66.09, 311.93°)
OKLaboklab(36.93% 0.0809 -0.1405)
OKLCHoklch(36.93% 0.162 299.9)
XYZxyz(7.9658, 4.2621, 22.9526)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D86 #54861D
analogous
#1D2086 #4F1D86 #831D86
triadic
#4F1D86 #864F1D #1D864F
tetradic
#4F1D86 #861D20 #54861D #1D8683
square
#4F1D86 #861D20 #54861D #1D8683
split-complementary
#4F1D86 #86831D #20861D
monochromatic
#140721 #311254 #4F1D86 #6D28B8 #8B46D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1D86#FFFFFF#000000##FFFFFF
##4F1D861.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)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#423951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1d86;
/* rgb */ color: rgb(79, 29, 134);
/* oklch */ color: oklch(36.9% 0.162 299.9);
Tailwind
colors: {
  custom: {
    50: '#865faa',
    500: '#4f1d86',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d86;
$custom-light: #865faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d86",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 268.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.16216,
    "h": 299.9
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#4F1D86
secondary
#82B946
accent
#E74098
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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