#4B2BAB#4B2BAB

#4B2BAB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.189 H 286.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2BAB
RGBrgb(75, 43, 171)
HSLhsl(255, 60%, 42%)
HSVhsv(255, 75%, 67%)
CMYKcmyk(56.1%, 74.9%, 0%, 32.9%)
CIE-LABlab(29.82, 47.00, -63.19)
CIE-LCHlch(29.82, 78.75, 306.64°)
OKLaboklab(41.59% 0.0532 -0.1819)
OKLCHoklch(41.59% 0.189 286.3)
XYZxyz(11.1140, 6.1633, 39.1242)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BAB #8BAB2B
analogous
#2B4BAB #4B2BAB #8B2BAB
triadic
#4B2BAB #AB4B2B #2BAB4B
tetradic
#4B2BAB #AB2B4B #8BAB2B #2BAB8B
square
#4B2BAB #AB2B4B #8BAB2B #2BAB8B
split-complementary
#4B2BAB #AB8B2B #4BAB2B
monochromatic
#201249 #361F7A #4B2BAB #6643D0 #8E74DC

Accessibility & contrast

On white

9.41
#4B2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BAB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BAB#FFFFFF#000000##FFFFFF
##4B2BAB1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#1F4E69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2bab;
/* rgb */ color: rgb(75, 43, 171);
/* oklch */ color: oklch(41.6% 0.189 286.3);
Tailwind
colors: {
  custom: {
    50: '#8868c5',
    500: '#4b2bab',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bab;
$custom-light: #8868c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bab",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 255,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.18947,
    "h": 286.3
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#4B2BAB
secondary
#AEC46E
accent
#E345BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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