#4B2177#4B2177

#4B2177 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.140 H 302.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#4B2177
RGBrgb(75, 33, 119)
HSLhsl(269, 57%, 30%)
HSVhsv(269, 72%, 47%)
CMYKcmyk(37%, 72.3%, 0%, 53.3%)
CIE-LABlab(23.39, 37.52, -41.54)
CIE-LCHlch(23.39, 55.98, 312.09°)
OKLaboklab(35.62% 0.0741 -0.1183)
OKLCHoklch(35.62% 0.14 302.1)
XYZxyz(6.7745, 3.9155, 17.8480)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2177 #4D7721
analogous
#212277 #4B2177 #762177
triadic
#4B2177 #774B21 #21774B
tetradic
#4B2177 #772122 #4D7721 #217776
square
#4B2177 #772122 #4D7721 #217776
split-complementary
#4B2177 #777621 #227721
monochromatic
#0F0718 #2D1447 #4B2177 #692EA7 #8847CC

Accessibility & contrast

On white

11.78
#4B2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2177
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2177#FFFFFF#000000##FFFFFF
##4B21771.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#423549
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b2177;
/* rgb */ color: rgb(75, 33, 119);
/* oklch */ color: oklch(35.6% 0.140 302.1);
Tailwind
colors: {
  custom: {
    50: '#81609f',
    500: '#4b2177',
    950: '#000000',
  },
}
SCSS
$custom: #4b2177;
$custom-light: #81609f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2177",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 269.302,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35615,
    "c": 0.13956,
    "h": 302.1
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#4B2177
secondary
#7BAA4A
accent
#E04896
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2177

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

Preview Lab → · Contrast checker → · Palette generator →

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