#4A29B3#4A29B3

#4A29B3 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.0% C 0.201 H 284.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4A29B3
RGBrgb(74, 41, 179)
HSLhsl(254, 63%, 43%)
HSVhsv(254, 77%, 70%)
CMYKcmyk(58.7%, 77.1%, 0%, 29.8%)
CIE-LABlab(30.15, 50.18, -67.44)
CIE-LCHlch(30.15, 84.06, 306.65°)
OKLaboklab(42.03% 0.051 -0.1943)
OKLCHoklch(42.03% 0.201 284.7)
XYZxyz(11.7512, 6.2957, 43.2350)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A29B3 #92B329
analogous
#294DB3 #4A29B3 #8F29B3
triadic
#4A29B3 #B34A29 #29B34A
tetradic
#4A29B3 #B3294D #92B329 #29B38F
square
#4A29B3 #B3294D #92B329 #29B38F
split-complementary
#4A29B3 #B38F29 #4DB329
monochromatic
#21124F #351E81 #4A29B3 #6745D4 #9077E0

Accessibility & contrast

On white

9.30
#4A29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A29B3
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A29B3#FFFFFF#000000##FFFFFF
##4A29B31.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#0C516D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a29b3;
/* rgb */ color: rgb(74, 41, 179);
/* oklch */ color: oklch(42.0% 0.201 284.7);
Tailwind
colors: {
  custom: {
    50: '#8967cb',
    500: '#4a29b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a29b3;
$custom-light: #8967cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a29b3",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 254.348,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.20089,
    "h": 284.7
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#4A29B3
secondary
#B3C770
accent
#E642BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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