#4B2B84#4B2B84

#4B2B84 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.142 H 295.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4B2B84
RGBrgb(75, 43, 132)
HSLhsl(262, 51%, 34%)
HSVhsv(262, 67%, 52%)
CMYKcmyk(43.2%, 67.4%, 0%, 48.2%)
CIE-LABlab(26.42, 35.64, -44.85)
CIE-LCHlch(26.42, 57.29, 308.48°)
OKLaboklab(38.11% 0.0608 -0.128)
OKLCHoklch(38.11% 0.142 295.4)
XYZxyz(7.9293, 4.8894, 22.3513)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B84 #64842B
analogous
#2B3884 #4B2B84 #782B84
triadic
#4B2B84 #844B2B #2B844B
tetradic
#4B2B84 #842B38 #64842B #2B8478
square
#4B2B84 #842B38 #64842B #2B8478
split-complementary
#4B2B84 #84782B #38842B
monochromatic
#170D28 #311C56 #4B2B84 #653AB2 #865FCB

Accessibility & contrast

On white

10.62
#4B2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B84
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B84#FFFFFF#000000##FFFFFF
##4B2B841.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#3C4053
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2b84;
/* rgb */ color: rgb(75, 43, 132);
/* oklch */ color: oklch(38.1% 0.142 295.4);
Tailwind
colors: {
  custom: {
    50: '#8266a8',
    500: '#4b2b84',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b84;
$custom-light: #8266a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b84",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 261.573,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38113,
    "c": 0.14172,
    "h": 295.4
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#4B2B84
secondary
#92B15A
accent
#DA4DA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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