#4F29B7#4F29B7

#4F29B7 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.205 H 286.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4F29B7
RGBrgb(79, 41, 183)
HSLhsl(256, 63%, 44%)
HSVhsv(256, 78%, 72%)
CMYKcmyk(56.8%, 77.6%, 0%, 28.2%)
CIE-LABlab(31.03, 51.95, -68.34)
CIE-LCHlch(31.03, 85.84, 307.24°)
OKLaboklab(42.89% 0.0574 -0.1968)
OKLCHoklch(42.89% 0.205 286.3)
XYZxyz(12.5621, 6.6663, 45.4154)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29B7 #91B729
analogous
#294AB7 #4F29B7 #9629B7
triadic
#4F29B7 #B74F29 #29B74F
tetradic
#4F29B7 #B7294A #91B729 #29B796
square
#4F29B7 #B7294A #91B729 #29B796
split-complementary
#4F29B7 #B79629 #4AB729
monochromatic
#241353 #391E85 #4F29B7 #6D47D6 #9579E1

Accessibility & contrast

On white

9.00
#4F29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4F29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29B7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29B7#FFFFFF#000000##FFFFFF
##4F29B71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#1C526F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f29b7;
/* rgb */ color: rgb(79, 41, 183);
/* oklch */ color: oklch(42.9% 0.205 286.3);
Tailwind
colors: {
  custom: {
    50: '#8c68ce',
    500: '#4f29b7',
    950: '#000000',
  },
}
SCSS
$custom: #4f29b7;
$custom-light: #8c68ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29b7",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 256.056,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.20498,
    "h": 286.3
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#4F29B7
secondary
#B2C973
accent
#E641BA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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