#4B29AA#4B29AA

#4B29AA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.190 H 286.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4B29AA
RGBrgb(75, 41, 170)
HSLhsl(256, 61%, 41%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(55.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(29.37, 47.72, -63.32)
CIE-LCHlch(29.37, 79.29, 307.00°)
OKLaboklab(41.24% 0.055 -0.1822)
OKLCHoklch(41.24% 0.19 286.8)
XYZxyz(10.9481, 5.9834, 38.6004)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29AA #88AA29
analogous
#2948AA #4B29AA #8C29AA
triadic
#4B29AA #AA4B29 #29AA4B
tetradic
#4B29AA #AA2948 #88AA29 #29AA8C
square
#4B29AA #AA2948 #88AA29 #29AA8C
split-complementary
#4B29AA #AA8C29 #48AA29
monochromatic
#1F1147 #351D79 #4B29AA #663FD1 #8D71DD

Accessibility & contrast

On white

9.56
#4B29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B29AA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29AA#FFFFFF#000000##FFFFFF
##4B29AA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#204D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b29aa;
/* rgb */ color: rgb(75, 41, 170);
/* oklch */ color: oklch(41.2% 0.190 286.8);
Tailwind
colors: {
  custom: {
    50: '#8867c4',
    500: '#4b29aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b29aa;
$custom-light: #8867c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29aa",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 255.814,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.19035,
    "h": 286.8
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#4B29AA
secondary
#ACC46B
accent
#E444BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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