#4F1E93#4F1E93

#4F1E93 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.175 H 295.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4F1E93
RGBrgb(79, 30, 147)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(46.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(25.85, 47.10, -55.07)
CIE-LCHlch(25.85, 72.47, 310.54°)
OKLaboklab(38.22% 0.0764 -0.1578)
OKLCHoklch(38.22% 0.175 295.8)
XYZxyz(8.9538, 4.6972, 28.0330)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E93 #62931E
analogous
#1E2893 #4F1E93 #8A1E93
triadic
#4F1E93 #934F1E #1E934F
tetradic
#4F1E93 #931E28 #62931E #1E938A
square
#4F1E93 #931E28 #62931E #1E938A
split-complementary
#4F1E93 #938A1E #28931E
monochromatic
#18092D #341460 #4F1E93 #6A28C6 #8A50DB

Accessibility & contrast

On white

10.83
#4F1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E93
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E93#FFFFFF#000000##FFFFFF
##4F1E931.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#3C3F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f1e93;
/* rgb */ color: rgb(79, 30, 147);
/* oklch */ color: oklch(38.2% 0.175 295.8);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#4f1e93',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e93;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e93",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 265.128,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.17534,
    "h": 295.8
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#4F1E93
secondary
#8FBE4F
accent
#E93FA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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