#4B29A4#4B29A4

#4B29A4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.183 H 288.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4B29A4
RGBrgb(75, 41, 164)
HSLhsl(257, 60%, 40%)
HSVhsv(257, 75%, 64%)
CMYKcmyk(54.3%, 75%, 0%, 35.7%)
CIE-LABlab(28.80, 45.98, -60.64)
CIE-LCHlch(28.80, 76.10, 307.17°)
OKLaboklab(40.67% 0.0565 -0.1744)
OKLCHoklch(40.67% 0.183 288)
XYZxyz(10.3935, 5.7615, 35.6792)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29A4 #82A429
analogous
#2945A4 #4B29A4 #8829A4
triadic
#4B29A4 #A44B29 #29A44B
tetradic
#4B29A4 #A42945 #82A429 #29A488
square
#4B29A4 #A42945 #82A429 #29A488
split-complementary
#4B29A4 #A48829 #45A429
monochromatic
#1E1142 #351D73 #4B29A4 #643CCE #8B6DDA

Accessibility & contrast

On white

9.76
#4B29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29A4
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29A4#FFFFFF#000000##FFFFFF
##4B29A41.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#274B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b29a4;
/* rgb */ color: rgb(75, 41, 164);
/* oklch */ color: oklch(40.7% 0.183 288.0);
Tailwind
colors: {
  custom: {
    50: '#8766c0',
    500: '#4b29a4',
    950: '#000000',
  },
}
SCSS
$custom: #4b29a4;
$custom-light: #8766c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29a4",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 256.585,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.18331,
    "h": 288
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#4B29A4
secondary
#A8C168
accent
#E345B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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