#4F1EA7#4F1EA7

#4F1EA7 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.197 H 290.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4F1EA7
RGBrgb(79, 30, 167)
HSLhsl(261, 70%, 39%)
HSVhsv(261, 82%, 65%)
CMYKcmyk(52.7%, 82%, 0%, 34.5%)
CIE-LABlab(27.79, 52.38, -64.10)
CIE-LCHlch(27.79, 82.78, 309.26°)
OKLaboklab(40.16% 0.0698 -0.1843)
OKLCHoklch(40.16% 0.197 290.7)
XYZxyz(10.6618, 5.3804, 37.0285)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1EA7 #76A71E
analogous
#1E31A7 #4F1EA7 #931EA7
triadic
#4F1EA7 #A74F1E #1EA74F
tetradic
#4F1EA7 #A71E31 #76A71E #1EA793
square
#4F1EA7 #A71E31 #76A71E #1EA793
split-complementary
#4F1EA7 #A7931E #31A71E
monochromatic
#1E0B3F #361573 #4F1EA7 #682AD9 #8D5DE2

Accessibility & contrast

On white

10.11
#4F1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1EA7
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1EA7#FFFFFF#000000##FFFFFF
##4F1EA71.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#2F4764
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f1ea7;
/* rgb */ color: rgb(79, 30, 167);
/* oklch */ color: oklch(40.2% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#8a61c2',
    500: '#4f1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4f1ea7;
$custom-light: #8a61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1ea7",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 261.46,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.19704,
    "h": 290.7
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#4F1EA7
secondary
#A0C65B
accent
#EC3BAD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4F1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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