#4B2BA0#4B2BA0

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

Color values

HEX#4B2BA0
RGBrgb(75, 43, 160)
HSLhsl(256, 58%, 40%)
HSVhsv(256, 73%, 63%)
CMYKcmyk(53.1%, 73.1%, 0%, 37.3%)
CIE-LABlab(28.80, 43.78, -58.22)
CIE-LCHlch(28.80, 72.84, 306.95°)
OKLaboklab(40.56% 0.0558 -0.1673)
OKLCHoklch(40.56% 0.176 288.4)
XYZxyz(10.1088, 5.7612, 33.8303)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA0 #80A02B
analogous
#2B46A0 #4B2BA0 #852BA0
triadic
#4B2BA0 #A04B2B #2BA04B
tetradic
#4B2BA0 #A02B46 #80A02B #2BA085
square
#4B2BA0 #A02B46 #80A02B #2BA085
split-complementary
#4B2BA0 #A0852B #46A02B
monochromatic
#1E1140 #341E70 #4B2BA0 #643DCB #8B6ED8

Accessibility & contrast

On white

9.76
#4B2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA0
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA0#FFFFFF#000000##FFFFFF
##4B2BA01.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#2A4A63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2ba0;
/* rgb */ color: rgb(75, 43, 160);
/* oklch */ color: oklch(40.6% 0.176 288.4);
Tailwind
colors: {
  custom: {
    50: '#8667bd',
    500: '#4b2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba0;
$custom-light: #8667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba0",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 256.41,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40558,
    "c": 0.17635,
    "h": 288.4
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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