#4B29BD#4B29BD

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

Color values

HEX#4B29BD
RGBrgb(75, 41, 189)
HSLhsl(254, 64%, 45%)
HSVhsv(254, 78%, 74%)
CMYKcmyk(60.3%, 78.3%, 0%, 25.9%)
CIE-LABlab(31.24, 53.17, -71.56)
CIE-LCHlch(31.24, 89.15, 306.61°)
OKLaboklab(43.12% 0.0497 -0.2063)
OKLCHoklch(43.12% 0.212 283.5)
XYZxyz(12.8771, 6.7550, 48.7595)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29BD #9BBD29
analogous
#2951BD #4B29BD #9529BD
triadic
#4B29BD #BD4B29 #29BD4B
tetradic
#4B29BD #BD2951 #9BBD29 #29BD95
square
#4B29BD #BD2951 #9BBD29 #29BD95
split-complementary
#4B29BD #BD9529 #51BD29
monochromatic
#231358 #371E8B #4B29BD #6C4BD8 #957DE3

Accessibility & contrast

On white

8.93
#4B29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29BD
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29BD#FFFFFF#000000##FFFFFF
##4B29BD1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.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: #4b29bd;
/* rgb */ color: rgb(75, 41, 189);
/* oklch */ color: oklch(43.1% 0.212 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b68d2',
    500: '#4b29bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b29bd;
$custom-light: #8b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29bd",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 253.784,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.2122,
    "h": 283.5
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#4B29BD
secondary
#B8CB77
accent
#E740C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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