#4F2991#4F2991

#4F2991 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.161 H 294.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4F2991
RGBrgb(79, 41, 145)
HSLhsl(262, 56%, 36%)
HSVhsv(262, 72%, 57%)
CMYKcmyk(45.5%, 71.7%, 0%, 43.1%)
CIE-LABlab(27.55, 41.24, -51.06)
CIE-LCHlch(27.55, 65.64, 308.93°)
OKLaboklab(39.37% 0.0668 -0.1461)
OKLCHoklch(39.37% 0.161 294.6)
XYZxyz(9.1268, 5.2922, 27.3232)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2991 #6B9129
analogous
#293791 #4F2991 #832991
triadic
#4F2991 #914F29 #29914F
tetradic
#4F2991 #912937 #6B9129 #299183
square
#4F2991 #912937 #6B9129 #299183
split-complementary
#4F2991 #918329 #379129
monochromatic
#1B0E32 #351C61 #4F2991 #6936C1 #8B62D3

Accessibility & contrast

On white

10.20
#4F2991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2991
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2991#FFFFFF#000000##FFFFFF
##4F29911.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#3C435A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2991;
/* rgb */ color: rgb(79, 41, 145);
/* oklch */ color: oklch(39.4% 0.161 294.6);
Tailwind
colors: {
  custom: {
    50: '#8766b2',
    500: '#4f2991',
    950: '#000000',
  },
}
SCSS
$custom: #4f2991;
$custom-light: #8766b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2991",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 261.923,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.1607,
    "h": 294.6
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#4F2991
secondary
#97B85D
accent
#DF49A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2991

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

Preview Lab → · Contrast checker → · Palette generator →

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