#4F1E8F#4F1E8F

#4F1E8F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.171 H 297.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#4F1E8F
RGBrgb(79, 30, 143)
HSLhsl(266, 65%, 34%)
HSVhsv(266, 79%, 56%)
CMYKcmyk(44.8%, 79%, 0%, 43.9%)
CIE-LABlab(25.48, 46.05, -53.20)
CIE-LCHlch(25.48, 70.36, 310.88°)
OKLaboklab(37.85% 0.0776 -0.1524)
OKLCHoklch(37.85% 0.171 297)
XYZxyz(8.6453, 4.5738, 26.4086)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E8F #5E8F1E
analogous
#1E258F #4F1E8F #881E8F
triadic
#4F1E8F #8F4F1E #1E8F4F
tetradic
#4F1E8F #8F1E25 #5E8F1E #1E8F88
square
#4F1E8F #8F1E25 #5E8F1E #1E8F88
split-complementary
#4F1E8F #8F881E #258F1E
monochromatic
#17092A #33135C #4F1E8F #6B29C2 #8A4EDA

Accessibility & contrast

On white

10.97
#4F1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E8F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E8F#FFFFFF#000000##FFFFFF
##4F1E8F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#3E3D56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f1e8f;
/* rgb */ color: rgb(79, 30, 143);
/* oklch */ color: oklch(37.9% 0.171 297.0);
Tailwind
colors: {
  custom: {
    50: '#8760b1',
    500: '#4f1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e8f;
$custom-light: #8760b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e8f",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 266.018,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.17097,
    "h": 297
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#4F1E8F
secondary
#8CBC4C
accent
#E8409F
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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