#4B2BA1#4B2BA1

#4B2BA1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.178 H 288.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA1
RGBrgb(75, 43, 161)
HSLhsl(256, 58%, 40%)
HSVhsv(256, 73%, 63%)
CMYKcmyk(53.4%, 73.3%, 0%, 36.9%)
CIE-LABlab(28.89, 44.08, -58.67)
CIE-LCHlch(28.89, 73.39, 306.92°)
OKLaboklab(40.65% 0.0556 -0.1686)
OKLCHoklch(40.65% 0.178 288.2)
XYZxyz(10.1967, 5.7963, 34.2928)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA1 #81A12B
analogous
#2B46A1 #4B2BA1 #862BA1
triadic
#4B2BA1 #A14B2B #2BA14B
tetradic
#4B2BA1 #A12B46 #81A12B #2BA186
square
#4B2BA1 #A12B46 #81A12B #2BA186
split-complementary
#4B2BA1 #A1862B #46A12B
monochromatic
#1E1140 #341E71 #4B2BA1 #643ECB #8B6ED8

Accessibility & contrast

On white

9.72
#4B2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4B2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA1
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA1#FFFFFF#000000##FFFFFF
##4B2BA11.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#2A4B63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2ba1;
/* rgb */ color: rgb(75, 43, 161);
/* oklch */ color: oklch(40.6% 0.178 288.2);
Tailwind
colors: {
  custom: {
    50: '#8667be',
    500: '#4b2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba1;
$custom-light: #8667be;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba1",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 256.271,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.17756,
    "h": 288.2
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#4B2BA1
secondary
#A8BF69
accent
#E147B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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