#4F2FB5#4F2FB5

#4F2FB5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.197 H 285.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4F2FB5
RGBrgb(79, 47, 181)
HSLhsl(254, 59%, 45%)
HSVhsv(254, 74%, 71%)
CMYKcmyk(56.4%, 74%, 0%, 29%)
CIE-LABlab(31.88, 48.44, -65.77)
CIE-LCHlch(31.88, 81.68, 306.37°)
OKLaboklab(43.42% 0.0536 -0.1893)
OKLCHoklch(43.42% 0.197 285.8)
XYZxyz(12.5789, 7.0308, 44.4013)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FB5 #95B52F
analogous
#2F52B5 #4F2FB5 #922FB5
triadic
#4F2FB5 #B54F2F #2FB54F
tetradic
#4F2FB5 #B52F52 #95B52F #2FB592
square
#4F2FB5 #B52F52 #95B52F #2FB592
split-complementary
#4F2FB5 #B5922F #52B52F
monochromatic
#251654 #3A2284 #4F2FB5 #6F50D1 #9780DE

Accessibility & contrast

On white

8.73
#4F2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2FB5
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FB5#FFFFFF#000000##FFFFFF
##4F2FB51.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#1F546F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2fb5;
/* rgb */ color: rgb(79, 47, 181);
/* oklch */ color: oklch(43.4% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b6bcc',
    500: '#4f2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fb5;
$custom-light: #8b6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fb5",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 254.328,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.19673,
    "h": 285.8
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#4F2FB5
secondary
#B4C779
accent
#E246BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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