#4C29BD#4C29BD

#4C29BD is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.212 H 284.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4C29BD
RGBrgb(76, 41, 189)
HSLhsl(254, 64%, 45%)
HSVhsv(254, 78%, 74%)
CMYKcmyk(59.8%, 78.3%, 0%, 25.9%)
CIE-LABlab(31.34, 53.28, -71.40)
CIE-LCHlch(31.34, 89.09, 306.73°)
OKLaboklab(43.2% 0.0511 -0.2058)
OKLCHoklch(43.2% 0.212 284)
XYZxyz(12.9559, 6.7956, 48.7632)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C29BD #9ABD29
analogous
#2950BD #4C29BD #9629BD
triadic
#4C29BD #BD4C29 #29BD4C
tetradic
#4C29BD #BD2950 #9ABD29 #29BD96
square
#4C29BD #BD2950 #9ABD29 #29BD96
split-complementary
#4C29BD #BD9629 #50BD29
monochromatic
#241358 #381E8B #4C29BD #6C4BD8 #957DE3

Accessibility & contrast

On white

8.90
#4C29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C29BD
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C29BD#FFFFFF#000000##FFFFFF
##4C29BD1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c29bd;
/* rgb */ color: rgb(76, 41, 189);
/* oklch */ color: oklch(43.2% 0.212 284.0);
Tailwind
colors: {
  custom: {
    50: '#8c68d2',
    500: '#4c29bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c29bd;
$custom-light: #8c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c29bd",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 254.189,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.21208,
    "h": 284
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#4C29BD
secondary
#B7CB77
accent
#E740C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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