#4B2B77#4B2B77

#4B2B77 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.125 H 299.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4B2B77
RGBrgb(75, 43, 119)
HSLhsl(265, 47%, 32%)
HSVhsv(265, 64%, 47%)
CMYKcmyk(37%, 63.9%, 0%, 53.3%)
CIE-LABlab(25.43, 31.95, -38.24)
CIE-LCHlch(25.43, 49.83, 309.88°)
OKLaboklab(37.08% 0.0619 -0.1086)
OKLCHoklch(37.08% 0.125 299.7)
XYZxyz(7.0945, 4.5555, 17.9547)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B77 #57772B
analogous
#2B3177 #4B2B77 #712B77
triadic
#4B2B77 #774B2B #2B774B
tetradic
#4B2B77 #772B31 #57772B #2B7771
square
#4B2B77 #772B31 #57772B #2B7771
split-complementary
#4B2B77 #77712B #31772B
monochromatic
#120B1D #2F1B4A #4B2B77 #673BA4 #8659C3

Accessibility & contrast

On white

10.99
#4B2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B77
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B77#FFFFFF#000000##FFFFFF
##4B2B771.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#0E3C75
Tritanopia (blue-blind)
#413B4C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2b77;
/* rgb */ color: rgb(75, 43, 119);
/* oklch */ color: oklch(37.1% 0.125 299.7);
Tailwind
colors: {
  custom: {
    50: '#81669f',
    500: '#4b2b77',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b77;
$custom-light: #81669f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b77",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 265.263,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.12501,
    "h": 299.7
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#4B2B77
secondary
#85A955
accent
#D7519E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4B2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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