#4F1B86#4F1B86

#4F1B86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.164 H 300.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4F1B86
RGBrgb(79, 27, 134)
HSLhsl(269, 66%, 32%)
HSVhsv(269, 80%, 53%)
CMYKcmyk(41%, 79.9%, 0%, 47.5%)
CIE-LABlab(24.22, 45.03, -49.66)
CIE-LCHlch(24.22, 67.03, 312.20°)
OKLaboklab(36.72% 0.0827 -0.1419)
OKLCHoklch(36.72% 0.164 300.2)
XYZxyz(7.9184, 4.1673, 22.9368)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B86 #52861B
analogous
#1B1C86 #4F1B86 #851B86
triadic
#4F1B86 #864F1B #1B864F
tetradic
#4F1B86 #861B1C #52861B #1B8685
square
#4F1B86 #861B1C #52861B #1B8685
split-complementary
#4F1B86 #86851B #1C861B
monochromatic
#130620 #311153 #4F1B86 #6D25B9 #8C42D9

Accessibility & contrast

On white

11.45
#4F1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1B86
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B86#FFFFFF#000000##FFFFFF
##4F1B861.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1b86;
/* rgb */ color: rgb(79, 27, 134);
/* oklch */ color: oklch(36.7% 0.164 300.2);
Tailwind
colors: {
  custom: {
    50: '#865eaa',
    500: '#4f1b86',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b86;
$custom-light: #865eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b86",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 269.159,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36717,
    "c": 0.16429,
    "h": 300.2
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#4F1B86
secondary
#80B944
accent
#E93E96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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