#4B2AB0#4B2AB0

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

Color values

HEX#4B2AB0
RGBrgb(75, 42, 176)
HSLhsl(255, 61%, 43%)
HSVhsv(255, 76%, 69%)
CMYKcmyk(57.4%, 76.1%, 0%, 31%)
CIE-LABlab(30.12, 48.95, -65.68)
CIE-LCHlch(30.12, 81.92, 306.70°)
OKLaboklab(41.95% 0.0526 -0.1892)
OKLCHoklch(41.95% 0.196 285.5)
XYZxyz(11.5637, 6.2857, 41.6698)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AB0 #8FB02A
analogous
#2A4CB0 #4B2AB0 #8E2AB0
triadic
#4B2AB0 #B04B2A #2AB04B
tetradic
#4B2AB0 #B02A4C #8FB02A #2AB08E
square
#4B2AB0 #B02A4C #8FB02A #2AB08E
split-complementary
#4B2AB0 #B08E2A #4CB02A
monochromatic
#21124D #361E7F #4B2AB0 #6845D3 #9076DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2AB0#FFFFFF#000000##FFFFFF
##4B2AB01.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)
#004AB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#18506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2ab0;
/* rgb */ color: rgb(75, 42, 176);
/* oklch */ color: oklch(41.9% 0.196 285.5);
Tailwind
colors: {
  custom: {
    50: '#8968c9',
    500: '#4b2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ab0;
$custom-light: #8968c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ab0",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 254.776,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.19635,
    "h": 285.5
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#4B2AB0
secondary
#B1C670
accent
#E543BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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