#4B2BA5#4B2BA5

#4B2BA5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.182 H 287.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4B2BA5
RGBrgb(75, 43, 165)
HSLhsl(256, 59%, 41%)
HSVhsv(256, 74%, 65%)
CMYKcmyk(54.5%, 73.9%, 0%, 35.3%)
CIE-LABlab(29.26, 45.25, -60.49)
CIE-LCHlch(29.26, 75.54, 306.79°)
OKLaboklab(41.02% 0.0546 -0.174)
OKLCHoklch(41.02% 0.182 287.4)
XYZxyz(10.5550, 5.9397, 36.1803)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BA5 #85A52B
analogous
#2B48A5 #4B2BA5 #882BA5
triadic
#4B2BA5 #A54B2B #2BA54B
tetradic
#4B2BA5 #A52B48 #85A52B #2BA588
square
#4B2BA5 #A52B48 #85A52B #2BA588
split-complementary
#4B2BA5 #A5882B #48A52B
monochromatic
#1F1244 #351E74 #4B2BA5 #6540CD #8C71DA

Accessibility & contrast

On white

9.60
#4B2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BA5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BA5#FFFFFF#000000##FFFFFF
##4B2BA51.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#264C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ba5;
/* rgb */ color: rgb(75, 43, 165);
/* oklch */ color: oklch(41.0% 0.182 287.4);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4b2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ba5;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ba5",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 255.738,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.18235,
    "h": 287.4
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#4B2BA5
secondary
#AAC16B
accent
#E246B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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