#4C29AF#4C29AF

#4C29AF is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.196 H 286.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4C29AF
RGBrgb(76, 41, 175)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 77%, 69%)
CMYKcmyk(56.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(29.95, 49.29, -65.36)
CIE-LCHlch(29.95, 81.86, 307.02°)
OKLaboklab(41.82% 0.0551 -0.1882)
OKLCHoklch(41.82% 0.196 286.3)
XYZxyz(11.5090, 6.2169, 41.1427)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29AF #8CAF29
analogous
#2949AF #4C29AF #8F29AF
triadic
#4C29AF #AF4C29 #29AF4C
tetradic
#4C29AF #AF2949 #8CAF29 #29AF8F
square
#4C29AF #AF2949 #8CAF29 #29AF8F
split-complementary
#4C29AF #AF8F29 #49AF29
monochromatic
#21124C #361D7D #4C29AF #6842D3 #9074DE

Accessibility & contrast

On white

9.36
#4C29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4C29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29AF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29AF#FFFFFF#000000##FFFFFF
##4C29AF1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#1D4F6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c29af;
/* rgb */ color: rgb(76, 41, 175);
/* oklch */ color: oklch(41.8% 0.196 286.3);
Tailwind
colors: {
  custom: {
    50: '#8967c8',
    500: '#4c29af',
    950: '#000000',
  },
}
SCSS
$custom: #4c29af;
$custom-light: #8967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29af",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 255.672,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.19608,
    "h": 286.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#4C29AF
secondary
#AFC66E
accent
#E543BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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