#4F1C86#4F1C86

#4F1C86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.163 H 300.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1C86
RGBrgb(79, 28, 134)
HSLhsl(269, 65%, 32%)
HSVhsv(269, 79%, 53%)
CMYKcmyk(41%, 79.1%, 0%, 47.5%)
CIE-LABlab(24.37, 44.60, -49.42)
CIE-LCHlch(24.37, 66.57, 312.06°)
OKLaboklab(36.82% 0.0819 -0.1412)
OKLCHoklch(36.82% 0.163 300.1)
XYZxyz(7.9417, 4.2139, 22.9446)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C86 #53861C
analogous
#1C1E86 #4F1C86 #841C86
triadic
#4F1C86 #864F1C #1C864F
tetradic
#4F1C86 #861C1E #53861C #1C8684
square
#4F1C86 #861C1E #53861C #1C8684
split-complementary
#4F1C86 #86841C #1E861C
monochromatic
#130721 #311153 #4F1C86 #6D27B9 #8B44D8

Accessibility & contrast

On white

11.40
#4F1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1C86
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C86#FFFFFF#000000##FFFFFF
##4F1C861.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#423850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1c86;
/* rgb */ color: rgb(79, 28, 134);
/* oklch */ color: oklch(36.8% 0.163 300.1);
Tailwind
colors: {
  custom: {
    50: '#865eaa',
    500: '#4f1c86',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c86;
$custom-light: #865eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c86",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 268.868,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36821,
    "c": 0.16324,
    "h": 300.1
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#4F1C86
secondary
#81B945
accent
#E83F97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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