#4F29AE#4F29AE

#4F29AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.195 H 287.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4F29AE
RGBrgb(79, 41, 174)
HSLhsl(257, 62%, 42%)
HSVhsv(257, 76%, 68%)
CMYKcmyk(54.6%, 76.4%, 0%, 31.8%)
CIE-LABlab(30.17, 49.42, -64.40)
CIE-LCHlch(30.17, 81.18, 307.50°)
OKLaboklab(42.02% 0.0599 -0.1853)
OKLCHoklch(42.02% 0.195 287.9)
XYZxyz(11.6551, 6.3035, 40.6388)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29AE #88AE29
analogous
#2946AE #4F29AE #9229AE
triadic
#4F29AE #AE4F29 #29AE4F
tetradic
#4F29AE #AE2946 #88AE29 #29AE92
square
#4F29AE #AE2946 #88AE29 #29AE92
split-complementary
#4F29AE #AE9229 #46AE29
monochromatic
#22124B #391D7C #4F29AE #6B42D2 #9273DE

Accessibility & contrast

On white

9.29
#4F29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4F29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29AE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29AE#FFFFFF#000000##FFFFFF
##4F29AE1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#284E6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f29ae;
/* rgb */ color: rgb(79, 41, 174);
/* oklch */ color: oklch(42.0% 0.195 287.9);
Tailwind
colors: {
  custom: {
    50: '#8b67c7',
    500: '#4f29ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f29ae;
$custom-light: #8b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29ae",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 257.143,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.19472,
    "h": 287.9
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#4F29AE
secondary
#ACC56D
accent
#E543B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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