#4B29AB#4B29AB

#4B29AB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.192 H 286.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4B29AB
RGBrgb(75, 41, 171)
HSLhsl(256, 61%, 42%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(56.1%, 76%, 0%, 32.9%)
CIE-LABlab(29.47, 48.00, -63.77)
CIE-LCHlch(29.47, 79.82, 306.97°)
OKLaboklab(41.34% 0.0547 -0.1835)
OKLCHoklch(41.34% 0.192 286.6)
XYZxyz(11.0431, 6.0214, 39.1005)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29AB #89AB29
analogous
#2948AB #4B29AB #8C29AB
triadic
#4B29AB #AB4B29 #29AB4B
tetradic
#4B29AB #AB2948 #89AB29 #29AB8C
square
#4B29AB #AB2948 #89AB29 #29AB8C
split-complementary
#4B29AB #AB8C29 #48AB29
monochromatic
#201148 #351D7A #4B29AB #6640D1 #8E71DD

Accessibility & contrast

On white

9.53
#4B29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29AB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29AB#FFFFFF#000000##FFFFFF
##4B29AB1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#1F4E68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b29ab;
/* rgb */ color: rgb(75, 41, 171);
/* oklch */ color: oklch(41.3% 0.192 286.6);
Tailwind
colors: {
  custom: {
    50: '#8867c5',
    500: '#4b29ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b29ab;
$custom-light: #8867c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29ab",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 255.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.19152,
    "h": 286.6
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#4B29AB
secondary
#ADC46C
accent
#E443BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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