#4F3191#4F3191

#4F3191 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.150 H 292.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4F3191
RGBrgb(79, 49, 145)
HSLhsl(259, 49%, 38%)
HSVhsv(259, 66%, 57%)
CMYKcmyk(45.5%, 66.2%, 0%, 43.1%)
CIE-LABlab(29.17, 36.81, -48.43)
CIE-LCHlch(29.17, 60.83, 307.23°)
OKLaboklab(40.53% 0.0583 -0.1384)
OKLCHoklch(40.53% 0.15 292.8)
XYZxyz(9.4322, 5.9029, 27.4250)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3191 #739131
analogous
#314391 #4F3191 #7F3191
triadic
#4F3191 #914F31 #31914F
tetradic
#4F3191 #913143 #739131 #31917F
square
#4F3191 #913143 #739131 #31917F
split-complementary
#4F3191 #917F31 #439131
monochromatic
#1D1236 #362263 #4F3191 #6841BF #8C6ECE

Accessibility & contrast

On white

9.63
#4F3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4F3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3191
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3191#FFFFFF#000000##FFFFFF
##4F31911.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#3C485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f3191;
/* rgb */ color: rgb(79, 49, 145);
/* oklch */ color: oklch(40.5% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#866bb2',
    500: '#4f3191',
    950: '#000000',
  },
}
SCSS
$custom: #4f3191;
$custom-light: #866bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3191",
  "rgb": {
    "r": 79,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 258.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40525,
    "c": 0.15022,
    "h": 292.8
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#4F3191
secondary
#9DB668
accent
#D94FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4F3191

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

Preview Lab → · Contrast checker → · Palette generator →

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