#4B29BA#4B29BA

#4B29BA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.209 H 284.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4B29BA
RGBrgb(75, 41, 186)
HSLhsl(254, 64%, 45%)
HSVhsv(254, 78%, 73%)
CMYKcmyk(59.7%, 78%, 0%, 27.1%)
CIE-LABlab(30.94, 52.31, -70.29)
CIE-LCHlch(30.94, 87.62, 306.66°)
OKLaboklab(42.81% 0.0505 -0.2026)
OKLCHoklch(42.81% 0.209 284)
XYZxyz(12.5548, 6.6261, 47.0622)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29BA #98BA29
analogous
#2950BA #4B29BA #9429BA
triadic
#4B29BA #BA4B29 #29BA4B
tetradic
#4B29BA #BA2950 #98BA29 #29BA94
square
#4B29BA #BA2950 #98BA29 #29BA94
split-complementary
#4B29BA #BA9429 #50BA29
monochromatic
#231356 #371E88 #4B29BA #6A49D7 #937BE2

Accessibility & contrast

On white

9.03
#4B29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29BA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29BA#FFFFFF#000000##FFFFFF
##4B29BA1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b29ba;
/* rgb */ color: rgb(75, 41, 186);
/* oklch */ color: oklch(42.8% 0.209 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b68d0',
    500: '#4b29ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b29ba;
$custom-light: #8b68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29ba",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 254.069,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.20879,
    "h": 284
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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