#4B29B5#4B29B5

#4B29B5 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.203 H 284.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4B29B5
RGBrgb(75, 41, 181)
HSLhsl(255, 63%, 44%)
HSVhsv(255, 77%, 71%)
CMYKcmyk(58.6%, 77.3%, 0%, 29%)
CIE-LABlab(30.44, 50.88, -68.14)
CIE-LCHlch(30.44, 85.04, 306.75°)
OKLaboklab(42.32% 0.052 -0.1963)
OKLCHoklch(42.32% 0.203 284.8)
XYZxyz(12.0325, 6.4172, 44.3117)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29B5 #93B529
analogous
#294DB5 #4B29B5 #9129B5
triadic
#4B29B5 #B54B29 #29B54B
tetradic
#4B29B5 #B5294D #93B529 #29B591
square
#4B29B5 #B5294D #93B529 #29B591
split-complementary
#4B29B5 #B59129 #4DB529
monochromatic
#221251 #361E83 #4B29B5 #6946D5 #9178E0

Accessibility & contrast

On white

9.20
#4B29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B29B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29B5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29B5#FFFFFF#000000##FFFFFF
##4B29B51.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#0D526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b29b5;
/* rgb */ color: rgb(75, 41, 181);
/* oklch */ color: oklch(42.3% 0.203 284.8);
Tailwind
colors: {
  custom: {
    50: '#8a67cc',
    500: '#4b29b5',
    950: '#000000',
  },
}
SCSS
$custom: #4b29b5;
$custom-light: #8a67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29b5",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 254.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.20308,
    "h": 284.8
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#4B29B5
secondary
#B3C872
accent
#E642BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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