#4F1E86#4F1E86

#4F1E86 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.161 H 299.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4F1E86
RGBrgb(79, 30, 134)
HSLhsl(268, 63%, 32%)
HSVhsv(268, 78%, 53%)
CMYKcmyk(41%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.68, 43.70, -48.91)
CIE-LCHlch(24.68, 65.59, 311.78°)
OKLaboklab(37.04% 0.08 -0.1398)
OKLCHoklch(37.04% 0.161 299.8)
XYZxyz(7.9907, 4.3120, 22.9609)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E86 #55861E
analogous
#1E2186 #4F1E86 #831E86
triadic
#4F1E86 #864F1E #1E864F
tetradic
#4F1E86 #861E21 #55861E #1E8683
square
#4F1E86 #861E21 #55861E #1E8683
split-complementary
#4F1E86 #86831E #21861E
monochromatic
#140822 #321354 #4F1E86 #6C29B8 #8B48D6

Accessibility & contrast

On white

11.28
#4F1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4F1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E86
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E86#FFFFFF#000000##FFFFFF
##4F1E861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#423951
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f1e86;
/* rgb */ color: rgb(79, 30, 134);
/* oklch */ color: oklch(37.0% 0.161 299.8);
Tailwind
colors: {
  custom: {
    50: '#865faa',
    500: '#4f1e86',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e86;
$custom-light: #865faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e86",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 268.269,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.16106,
    "h": 299.8
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#4F1E86
secondary
#83B847
accent
#E64199
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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