#4B2EA0#4B2EA0

#4B2EA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.173 H 287.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA0
RGBrgb(75, 46, 160)
HSLhsl(255, 55%, 40%)
HSVhsv(255, 71%, 63%)
CMYKcmyk(53.1%, 71.2%, 0%, 37.3%)
CIE-LABlab(29.38, 42.17, -57.27)
CIE-LCHlch(29.38, 71.12, 306.37°)
OKLaboklab(40.97% 0.0531 -0.1645)
OKLCHoklch(40.97% 0.173 287.9)
XYZxyz(10.2219, 5.9874, 33.8680)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA0 #83A02E
analogous
#2E4AA0 #4B2EA0 #842EA0
triadic
#4B2EA0 #A04B2E #2EA04B
tetradic
#4B2EA0 #A02E4A #83A02E #2EA084
square
#4B2EA0 #A02E4A #83A02E #2EA084
split-complementary
#4B2EA0 #A0842E #4AA02E
monochromatic
#1E1341 #352070 #4B2EA0 #6542C9 #8C72D6

Accessibility & contrast

On white

9.56
#4B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA0#FFFFFF#000000##FFFFFF
##4B2EA01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#2A4C63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ea0;
/* rgb */ color: rgb(75, 46, 160);
/* oklch */ color: oklch(41.0% 0.173 287.9);
Tailwind
colors: {
  custom: {
    50: '#8669bd',
    500: '#4b2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea0;
$custom-light: #8669bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea0",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 255.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.1729,
    "h": 287.9
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#4B2EA0
secondary
#A9BE6C
accent
#DF49B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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