#4B29B3#4B29B3

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

Color values

HEX#4B29B3
RGBrgb(75, 41, 179)
HSLhsl(255, 63%, 43%)
HSVhsv(255, 77%, 70%)
CMYKcmyk(58.1%, 77.1%, 0%, 29.8%)
CIE-LABlab(30.24, 50.31, -67.27)
CIE-LCHlch(30.24, 84.00, 306.79°)
OKLaboklab(42.12% 0.0525 -0.1938)
OKLCHoklch(42.12% 0.201 285.2)
XYZxyz(11.8288, 6.3357, 43.2387)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29B3 #91B329
analogous
#294CB3 #4B29B3 #9029B3
triadic
#4B29B3 #B34B29 #29B34B
tetradic
#4B29B3 #B3294C #91B329 #29B390
square
#4B29B3 #B3294C #91B329 #29B390
split-complementary
#4B29B3 #B39029 #4CB329
monochromatic
#21124F #361E81 #4B29B3 #6845D4 #9177E0

Accessibility & contrast

On white

9.26
#4B29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4B29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29B3
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29B3#FFFFFF#000000##FFFFFF
##4B29B31.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#12516D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b29b3;
/* rgb */ color: rgb(75, 41, 179);
/* oklch */ color: oklch(42.1% 0.201 285.2);
Tailwind
colors: {
  custom: {
    50: '#8967cb',
    500: '#4b29b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b29b3;
$custom-light: #8967cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29b3",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 254.783,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.20079,
    "h": 285.2
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#4B29B3
secondary
#B2C770
accent
#E642BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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