#4F29A4#4F29A4

#4F29A4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.183 H 290.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4F29A4
RGBrgb(79, 41, 164)
HSLhsl(259, 60%, 40%)
HSVhsv(259, 75%, 64%)
CMYKcmyk(51.8%, 75%, 0%, 35.7%)
CIE-LABlab(29.23, 46.59, -59.92)
CIE-LCHlch(29.23, 75.90, 307.87°)
OKLaboklab(41.07% 0.0626 -0.1721)
OKLCHoklch(41.07% 0.183 290)
XYZxyz(10.7163, 5.9280, 35.6943)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F29A4 #7EA429
analogous
#2940A4 #4F29A4 #8D29A4
triadic
#4F29A4 #A44F29 #29A44F
tetradic
#4F29A4 #A42940 #7EA429 #29A48D
square
#4F29A4 #A42940 #7EA429 #29A48D
split-complementary
#4F29A4 #A48D29 #40A429
monochromatic
#201142 #371D73 #4F29A4 #693CCE #8F6DDA

Accessibility & contrast

On white

9.61
#4F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F29A4
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F29A4#FFFFFF#000000##FFFFFF
##4F29A41.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#304A64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f29a4;
/* rgb */ color: rgb(79, 41, 164);
/* oklch */ color: oklch(41.1% 0.183 290.0);
Tailwind
colors: {
  custom: {
    50: '#8967c0',
    500: '#4f29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4f29a4;
$custom-light: #8967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f29a4",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 258.537,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.18316,
    "h": 290
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#4F29A4
secondary
#A6C168
accent
#E345B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #4F29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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