#4C29AE#4C29AE

#4C29AE is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.195 H 286.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4C29AE
RGBrgb(76, 41, 174)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 76%, 68%)
CMYKcmyk(56.3%, 76.4%, 0%, 31.8%)
CIE-LABlab(29.86, 49.00, -64.92)
CIE-LCHlch(29.86, 81.34, 307.05°)
OKLaboklab(41.73% 0.0554 -0.1869)
OKLCHoklch(41.73% 0.195 286.5)
XYZxyz(11.4111, 6.1777, 40.6273)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29AE #8BAE29
analogous
#2949AE #4C29AE #8E29AE
triadic
#4C29AE #AE4C29 #29AE4C
tetradic
#4C29AE #AE2949 #8BAE29 #29AE8E
square
#4C29AE #AE2949 #8BAE29 #29AE8E
split-complementary
#4C29AE #AE8E29 #49AE29
monochromatic
#21124B #361D7C #4C29AE #6842D2 #8F73DE

Accessibility & contrast

On white

9.39
#4C29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C29AE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29AE#FFFFFF#000000##FFFFFF
##4C29AE1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#1F4F6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c29ae;
/* rgb */ color: rgb(76, 41, 174);
/* oklch */ color: oklch(41.7% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#8967c7',
    500: '#4c29ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c29ae;
$custom-light: #8967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29ae",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 255.789,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.19493,
    "h": 286.5
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#4C29AE
secondary
#AEC56D
accent
#E543BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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