#4F29C4#4F29C4

#4F29C4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.220 H 284.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4F29C4
RGBrgb(79, 41, 196)
HSLhsl(255, 65%, 46%)
HSVhsv(255, 79%, 77%)
CMYKcmyk(59.7%, 79.1%, 0%, 23.1%)
CIE-LABlab(32.33, 55.60, -73.87)
CIE-LCHlch(32.33, 92.46, 306.97°)
OKLaboklab(44.18% 0.0535 -0.2129)
OKLCHoklch(44.18% 0.22 284.1)
XYZxyz(13.9781, 7.2327, 52.8733)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29C4 #9EC429
analogous
#2950C4 #4F29C4 #9D29C4
triadic
#4F29C4 #C44F29 #29C44F
tetradic
#4F29C4 #C42950 #9EC429 #29C49D
square
#4F29C4 #C42950 #9EC429 #29C49D
split-complementary
#4F29C4 #C49D29 #50C429
monochromatic
#26145F #3B1E91 #4F29C4 #7250DA #9B82E5

Accessibility & contrast

On white

8.58
#4F29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4F29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29C4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29C4#FFFFFF#000000##FFFFFF
##4F29C41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f29c4;
/* rgb */ color: rgb(79, 41, 196);
/* oklch */ color: oklch(44.2% 0.220 284.1);
Tailwind
colors: {
  custom: {
    50: '#8e69d7',
    500: '#4f29c4',
    950: '#000000',
  },
}
SCSS
$custom: #4f29c4;
$custom-light: #8e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29c4",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 254.71,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.21956,
    "h": 284.1
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#4F29C4
secondary
#BACE7B
accent
#E83FBF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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