#4F29C1#4F29C1

#4F29C1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.216 H 284.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4F29C1
RGBrgb(79, 41, 193)
HSLhsl(255, 65%, 46%)
HSVhsv(255, 79%, 76%)
CMYKcmyk(59.1%, 78.8%, 0%, 24.3%)
CIE-LABlab(32.03, 54.76, -72.61)
CIE-LCHlch(32.03, 90.94, 307.02°)
OKLaboklab(43.88% 0.0544 -0.2093)
OKLCHoklch(43.88% 0.216 284.6)
XYZxyz(13.6401, 7.0975, 51.0929)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29C1 #9BC129
analogous
#294FC1 #4F29C1 #9B29C1
triadic
#4F29C1 #C14F29 #29C14F
tetradic
#4F29C1 #C1294F #9BC129 #29C19B
square
#4F29C1 #C1294F #9BC129 #29C19B
split-complementary
#4F29C1 #C19B29 #4FC129
monochromatic
#26145C #3A1E8F #4F29C1 #714ED9 #9980E4

Accessibility & contrast

On white

8.68
#4F29C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4F29C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29C1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29C1#FFFFFF#000000##FFFFFF
##4F29C11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#045675
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f29c1;
/* rgb */ color: rgb(79, 41, 193);
/* oklch */ color: oklch(43.9% 0.216 284.6);
Tailwind
colors: {
  custom: {
    50: '#8e68d5',
    500: '#4f29c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f29c1;
$custom-light: #8e68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29c1",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 255,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.21622,
    "h": 284.6
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#4F29C1
secondary
#B8CD79
accent
#E840BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F29C1

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

Preview Lab → · Contrast checker → · Palette generator →

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