#4B29B2#4B29B2

#4B29B2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.200 H 285.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4B29B2
RGBrgb(75, 41, 178)
HSLhsl(255, 63%, 43%)
HSVhsv(255, 77%, 70%)
CMYKcmyk(57.9%, 77%, 0%, 30.2%)
CIE-LABlab(30.15, 50.02, -66.84)
CIE-LCHlch(30.15, 83.48, 306.81°)
OKLaboklab(42.02% 0.0528 -0.1925)
OKLCHoklch(42.02% 0.2 285.3)
XYZxyz(11.7280, 6.2954, 42.7080)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B29B2 #90B229
analogous
#294BB2 #4B29B2 #9029B2
triadic
#4B29B2 #B24B29 #29B24B
tetradic
#4B29B2 #B2294B #90B229 #29B290
square
#4B29B2 #B2294B #90B229 #29B290
split-complementary
#4B29B2 #B29029 #4BB229
monochromatic
#21124F #361E80 #4B29B2 #6844D4 #9076DF

Accessibility & contrast

On white

9.30
#4B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B29B2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B29B2#FFFFFF#000000##FFFFFF
##4B29B21.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#14506C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b29b2;
/* rgb */ color: rgb(75, 41, 178);
/* oklch */ color: oklch(42.0% 0.200 285.3);
Tailwind
colors: {
  custom: {
    50: '#8967ca',
    500: '#4b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b29b2;
$custom-light: #8967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b29b2",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 254.891,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.19964,
    "h": 285.3
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#4B29B2
secondary
#B1C770
accent
#E642BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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