#4B2BA4#4B2BA4

#4B2BA4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.181 H 287.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA4
RGBrgb(75, 43, 164)
HSLhsl(256, 58%, 41%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54.3%, 73.8%, 0%, 35.7%)
CIE-LABlab(29.17, 44.95, -60.04)
CIE-LCHlch(29.17, 75.00, 306.82°)
OKLaboklab(40.93% 0.0549 -0.1726)
OKLCHoklch(40.93% 0.181 287.6)
XYZxyz(10.4644, 5.9034, 35.7028)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA4 #84A42B
analogous
#2B47A4 #4B2BA4 #872BA4
triadic
#4B2BA4 #A44B2B #2BA44B
tetradic
#4B2BA4 #A42B47 #84A42B #2BA487
square
#4B2BA4 #A42B47 #84A42B #2BA487
split-complementary
#4B2BA4 #A4872B #47A42B
monochromatic
#1F1243 #351E74 #4B2BA4 #653FCD #8C70D9

Accessibility & contrast

On white

9.63
#4B2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA4
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA4#FFFFFF#000000##FFFFFF
##4B2BA41.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#274C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ba4;
/* rgb */ color: rgb(75, 43, 164);
/* oklch */ color: oklch(40.9% 0.181 287.6);
Tailwind
colors: {
  custom: {
    50: '#8768c0',
    500: '#4b2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba4;
$custom-light: #8768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba4",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 255.868,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.18115,
    "h": 287.6
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#4B2BA4
secondary
#AAC16A
accent
#E246B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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