#4B2188#4B2188

#4B2188 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.159 H 296.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4B2188
RGBrgb(75, 33, 136)
HSLhsl(264, 61%, 33%)
HSVhsv(264, 76%, 53%)
CMYKcmyk(44.9%, 75.7%, 0%, 46.7%)
CIE-LABlab(24.83, 42.10, -49.93)
CIE-LCHlch(24.83, 65.32, 310.14°)
OKLaboklab(37.09% 0.0706 -0.1429)
OKLCHoklch(37.09% 0.159 296.3)
XYZxyz(7.8883, 4.3610, 23.7139)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2188 #5E8821
analogous
#212A88 #4B2188 #7E2188
triadic
#4B2188 #884B21 #21884B
tetradic
#4B2188 #88212A #5E8821 #21887E
square
#4B2188 #88212A #5E8821 #21887E
split-complementary
#4B2188 #887E21 #2A8821
monochromatic
#150925 #301557 #4B2188 #662DB9 #854FD4

Accessibility & contrast

On white

11.22
#4B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2188
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2188#FFFFFF#000000##FFFFFF
##4B21881.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#3B3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2188;
/* rgb */ color: rgb(75, 33, 136);
/* oklch */ color: oklch(37.1% 0.159 296.3);
Tailwind
colors: {
  custom: {
    50: '#8461ac',
    500: '#4b2188',
    950: '#000000',
  },
}
SCSS
$custom: #4b2188;
$custom-light: #8461ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2188",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 264.466,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.15939,
    "h": 296.3
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#4B2188
secondary
#8CB84D
accent
#E444A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2188

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

Preview Lab → · Contrast checker → · Palette generator →

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