#4B2189#4B2189

#4B2189 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.161 H 296.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2189
RGBrgb(75, 33, 137)
HSLhsl(264, 61%, 33%)
HSVhsv(264, 76%, 54%)
CMYKcmyk(45.3%, 75.9%, 0%, 46.3%)
CIE-LABlab(24.92, 42.38, -50.41)
CIE-LCHlch(24.92, 65.86, 310.05°)
OKLaboklab(37.18% 0.0703 -0.1443)
OKLCHoklch(37.18% 0.161 296)
XYZxyz(7.9597, 4.3895, 24.0900)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2189 #5F8921
analogous
#212B89 #4B2189 #7F2189
triadic
#4B2189 #894B21 #21894B
tetradic
#4B2189 #89212B #5F8921 #21897F
square
#4B2189 #89212B #5F8921 #21897F
split-complementary
#4B2189 #897F21 #2B8921
monochromatic
#150926 #301558 #4B2189 #662DBA #8550D5

Accessibility & contrast

On white

11.18
#4B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2189
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2189#FFFFFF#000000##FFFFFF
##4B21891.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#3A3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b2189;
/* rgb */ color: rgb(75, 33, 137);
/* oklch */ color: oklch(37.2% 0.161 296.0);
Tailwind
colors: {
  custom: {
    50: '#8461ac',
    500: '#4b2189',
    950: '#000000',
  },
}
SCSS
$custom: #4b2189;
$custom-light: #8461ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2189",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 264.231,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37176,
    "c": 0.16055,
    "h": 296
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2189

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

Preview Lab → · Contrast checker → · Palette generator →

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