#4F1FB4#4F1FB4

#4F1FB4 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.210 H 287.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1FB4
RGBrgb(79, 31, 180)
HSLhsl(259, 71%, 41%)
HSVhsv(259, 83%, 71%)
CMYKcmyk(56.1%, 82.8%, 0%, 29.4%)
CIE-LABlab(29.25, 55.43, -69.49)
CIE-LCHlch(29.25, 88.89, 308.58°)
OKLaboklab(41.56% 0.0646 -0.2)
OKLCHoklch(41.56% 0.21 287.9)
XYZxyz(11.9502, 5.9369, 43.6874)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1FB4 #84B41F
analogous
#1F3AB4 #4F1FB4 #9A1FB4
triadic
#4F1FB4 #B44F1F #1FB44F
tetradic
#4F1FB4 #B41F3A #84B41F #1FB49A
square
#4F1FB4 #B41F3A #84B41F #1FB49A
split-complementary
#4F1FB4 #B49A1F #3AB41F
monochromatic
#210D4C #381680 #4F1FB4 #6A34DC #9168E5

Accessibility & contrast

On white

9.60
#4F1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F1FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1FB4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1FB4#FFFFFF#000000##FFFFFF
##4F1FB41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#214D6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f1fb4;
/* rgb */ color: rgb(79, 31, 180);
/* oklch */ color: oklch(41.6% 0.210 287.9);
Tailwind
colors: {
  custom: {
    50: '#8c63cc',
    500: '#4f1fb4',
    950: '#000000',
  },
}
SCSS
$custom: #4f1fb4;
$custom-light: #8c63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1fb4",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 259.329,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.21021,
    "h": 287.9
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#4F1FB4
secondary
#AACB64
accent
#ED3AB4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F1FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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