#4F2C99#4F2C99

#4F2C99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.167 H 292.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4F2C99
RGBrgb(79, 44, 153)
HSLhsl(259, 55%, 39%)
HSVhsv(259, 71%, 60%)
CMYKcmyk(48.4%, 71.2%, 0%, 40%)
CIE-LABlab(28.81, 41.91, -53.93)
CIE-LCHlch(28.81, 68.30, 307.85°)
OKLaboklab(40.47% 0.0623 -0.1546)
OKLCHoklch(40.47% 0.167 292)
XYZxyz(9.8733, 5.7632, 30.7230)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C99 #76992C
analogous
#2C3F99 #4F2C99 #852C99
triadic
#4F2C99 #994F2C #2C994F
tetradic
#4F2C99 #992C3F #76992C #2C9985
square
#4F2C99 #992C3F #76992C #2C9985
split-complementary
#4F2C99 #99852C #3F992C
monochromatic
#1E113A #361E69 #4F2C99 #683BC7 #8D6BD4

Accessibility & contrast

On white

9.75
#4F2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C99
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C99#FFFFFF#000000##FFFFFF
##4F2C991.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#38485F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2c99;
/* rgb */ color: rgb(79, 44, 153);
/* oklch */ color: oklch(40.5% 0.167 292.0);
Tailwind
colors: {
  custom: {
    50: '#8768b8',
    500: '#4f2c99',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c99;
$custom-light: #8768b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c99",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 259.266,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.16666,
    "h": 292
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#4F2C99
secondary
#A0BB66
accent
#DF49AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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