#4B2199#4B2199

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

Color values

HEX#4B2199
RGBrgb(75, 33, 153)
HSLhsl(261, 65%, 36%)
HSVhsv(261, 78%, 60%)
CMYKcmyk(51%, 78.4%, 0%, 40%)
CIE-LABlab(26.40, 46.76, -57.89)
CIE-LCHlch(26.40, 74.42, 308.93°)
OKLaboklab(38.67% 0.0659 -0.1663)
OKLCHoklch(38.67% 0.179 291.6)
XYZxyz(9.1936, 4.8831, 30.5889)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2199 #6F9921
analogous
#213399 #4B2199 #872199
triadic
#4B2199 #994B21 #21994B
tetradic
#4B2199 #992133 #6F9921 #219987
square
#4B2199 #992133 #6F9921 #219987
split-complementary
#4B2199 #998721 #339921
monochromatic
#1A0B34 #321667 #4B2199 #642CCB #8759DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2199#FFFFFF#000000##FFFFFF
##4B21991.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)
#00409C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#31435C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2199;
/* rgb */ color: rgb(75, 33, 153);
/* oklch */ color: oklch(38.7% 0.179 291.6);
Tailwind
colors: {
  custom: {
    50: '#8662b8',
    500: '#4b2199',
    950: '#000000',
  },
}
SCSS
$custom: #4b2199;
$custom-light: #8662b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2199",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 261,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.17885,
    "h": 291.6
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#4B2199
secondary
#9BBF56
accent
#E840AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2199

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

Preview Lab → · Contrast checker → · Palette generator →

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