#4B2BA3#4B2BA3

#4B2BA3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.180 H 287.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA3
RGBrgb(75, 43, 163)
HSLhsl(256, 58%, 40%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54%, 73.6%, 0%, 36.1%)
CIE-LABlab(29.08, 44.66, -59.59)
CIE-LCHlch(29.08, 74.47, 306.85°)
OKLaboklab(40.84% 0.0551 -0.1713)
OKLCHoklch(40.84% 0.18 287.8)
XYZxyz(10.3744, 5.8674, 35.2291)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA3 #83A32B
analogous
#2B47A3 #4B2BA3 #872BA3
triadic
#4B2BA3 #A34B2B #2BA34B
tetradic
#4B2BA3 #A32B47 #83A32B #2BA387
square
#4B2BA3 #A32B47 #83A32B #2BA387
split-complementary
#4B2BA3 #A3872B #47A32B
monochromatic
#1E1142 #351E73 #4B2BA3 #653FCC #8C6FD9

Accessibility & contrast

On white

9.66
#4B2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA3
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA3#FFFFFF#000000##FFFFFF
##4B2BA31.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#284B64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ba3;
/* rgb */ color: rgb(75, 43, 163);
/* oklch */ color: oklch(40.8% 0.180 287.8);
Tailwind
colors: {
  custom: {
    50: '#8768bf',
    500: '#4b2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba3;
$custom-light: #8768bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba3",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 256,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.17996,
    "h": 287.8
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#4B2BA3
secondary
#A9C06A
accent
#E146B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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