#4A29CA#4A29CA

#4A29CA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.227 H 281.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4A29CA
RGBrgb(74, 41, 202)
HSLhsl(252, 66%, 48%)
HSVhsv(252, 80%, 79%)
CMYKcmyk(63.4%, 79.7%, 0%, 20.8%)
CIE-LABlab(32.49, 56.76, -77.13)
CIE-LCHlch(32.49, 95.77, 306.35°)
OKLaboklab(44.36% 0.0443 -0.2226)
OKLCHoklch(44.36% 0.227 281.3)
XYZxyz(14.2743, 7.3049, 56.5234)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29CA #A9CA29
analogous
#2959CA #4A29CA #9A29CA
triadic
#4A29CA #CA4A29 #29CA4A
tetradic
#4A29CA #CA2959 #A9CA29 #29CA9A
square
#4A29CA #CA2959 #A9CA29 #29CA9A
split-complementary
#4A29CA #CA9A29 #59CA29
monochromatic
#251464 #371F97 #4A29CA #7054DC #9A87E7

Accessibility & contrast

On white

8.53
#4A29CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4A29CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29CA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29CA#FFFFFF#000000##FFFFFF
##4A29CA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a29ca;
/* rgb */ color: rgb(74, 41, 202);
/* oklch */ color: oklch(44.4% 0.227 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d68dc',
    500: '#4a29ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a29ca;
$custom-light: #8d68dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29ca",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 252.298,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.22695,
    "h": 281.3
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#4A29CA
secondary
#BFD07F
accent
#E93FC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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