#4F29AC#4F29AC

#4F29AC is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.192 H 288.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4F29AC
RGBrgb(79, 41, 172)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 76%, 67%)
CMYKcmyk(54.1%, 76.2%, 0%, 32.5%)
CIE-LABlab(29.98, 48.85, -63.52)
CIE-LCHlch(29.98, 80.13, 307.57°)
OKLaboklab(41.82% 0.0605 -0.1827)
OKLCHoklch(41.82% 0.192 288.3)
XYZxyz(11.4616, 6.2261, 39.6196)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AC #86AC29
analogous
#2944AC #4F29AC #9129AC
triadic
#4F29AC #AC4F29 #29AC4F
tetradic
#4F29AC #AC2944 #86AC29 #29AC91
square
#4F29AC #AC2944 #86AC29 #29AC91
split-complementary
#4F29AC #AC9129 #44AC29
monochromatic
#221149 #381D7B #4F29AC #6B41D2 #9172DD

Accessibility & contrast

On white

9.35
#4F29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4F29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AC
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AC#FFFFFF#000000##FFFFFF
##4F29AC1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#2A4E69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f29ac;
/* rgb */ color: rgb(79, 41, 172);
/* oklch */ color: oklch(41.8% 0.192 288.3);
Tailwind
colors: {
  custom: {
    50: '#8a67c6',
    500: '#4f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ac;
$custom-light: #8a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ac",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 257.405,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.19242,
    "h": 288.3
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#4F29AC
secondary
#ABC56C
accent
#E543B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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