#4B29B9#4B29B9

#4B29B9 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.208 H 284.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4B29B9
RGBrgb(75, 41, 185)
HSLhsl(254, 64%, 44%)
HSVhsv(254, 78%, 73%)
CMYKcmyk(59.5%, 77.8%, 0%, 27.5%)
CIE-LABlab(30.84, 52.03, -69.86)
CIE-LCHlch(30.84, 87.10, 306.68°)
OKLaboklab(42.71% 0.0508 -0.2013)
OKLCHoklch(42.71% 0.208 284.2)
XYZxyz(12.4489, 6.5837, 46.5043)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29B9 #97B929
analogous
#294FB9 #4B29B9 #9329B9
triadic
#4B29B9 #B94B29 #29B94B
tetradic
#4B29B9 #B9294F #97B929 #29B993
square
#4B29B9 #B9294F #97B929 #29B993
split-complementary
#4B29B9 #B99329 #4FB929
monochromatic
#221355 #371E87 #4B29B9 #6A49D7 #937BE2

Accessibility & contrast

On white

9.06
#4B29B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4B29B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29B9
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29B9#FFFFFF#000000##FFFFFF
##4B29B91.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b29b9;
/* rgb */ color: rgb(75, 41, 185);
/* oklch */ color: oklch(42.7% 0.208 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b68cf',
    500: '#4b29b9',
    950: '#000000',
  },
}
SCSS
$custom: #4b29b9;
$custom-light: #8b68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29b9",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 254.167,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.20765,
    "h": 284.2
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#4B29B9
secondary
#B6CA74
accent
#E741C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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