#4B2BAE#4B2BAE

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

Color values

HEX#4B2BAE
RGBrgb(75, 43, 174)
HSLhsl(255, 60%, 43%)
HSVhsv(255, 75%, 68%)
CMYKcmyk(56.9%, 75.3%, 0%, 31.8%)
CIE-LABlab(30.11, 47.87, -64.52)
CIE-LCHlch(30.11, 80.34, 306.58°)
OKLaboklab(41.88% 0.0524 -0.1857)
OKLCHoklch(41.88% 0.193 285.8)
XYZxyz(11.4032, 6.2789, 40.6473)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BAE #8EAE2B
analogous
#2B4DAE #4B2BAE #8C2BAE
triadic
#4B2BAE #AE4B2B #2BAE4B
tetradic
#4B2BAE #AE2B4D #8EAE2B #2BAE8C
square
#4B2BAE #AE2B4D #8EAE2B #2BAE8C
split-complementary
#4B2BAE #AE8C2B #4DAE2B
monochromatic
#21134C #361F7D #4B2BAE #6745D1 #8F76DD

Accessibility & contrast

On white

9.31
#4B2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2BAE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BAE#FFFFFF#000000##FFFFFF
##4B2BAE1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#1B506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2bae;
/* rgb */ color: rgb(75, 43, 174);
/* oklch */ color: oklch(41.9% 0.193 285.8);
Tailwind
colors: {
  custom: {
    50: '#8868c7',
    500: '#4b2bae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bae;
$custom-light: #8868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bae",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 254.656,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.193,
    "h": 285.8
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#4B2BAE
secondary
#B0C570
accent
#E444BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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