#4B2184#4B2184

#4B2184 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.155 H 297.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4B2184
RGBrgb(75, 33, 132)
HSLhsl(265, 60%, 32%)
HSVhsv(265, 75%, 52%)
CMYKcmyk(43.2%, 75%, 0%, 48.2%)
CIE-LABlab(24.48, 41.02, -48.00)
CIE-LCHlch(24.48, 63.14, 310.51°)
OKLaboklab(36.73% 0.0715 -0.1373)
OKLCHoklch(36.73% 0.155 297.5)
XYZxyz(7.6093, 4.2494, 22.2446)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2184 #5A8421
analogous
#212884 #4B2184 #7D2184
triadic
#4B2184 #844B21 #21844B
tetradic
#4B2184 #842128 #5A8421 #21847D
square
#4B2184 #842128 #5A8421 #21847D
split-complementary
#4B2184 #847D21 #288421
monochromatic
#130922 #2F1553 #4B2184 #672DB5 #864DD2

Accessibility & contrast

On white

11.35
#4B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4B2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2184
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2184#FFFFFF#000000##FFFFFF
##4B21841.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#3C3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2184;
/* rgb */ color: rgb(75, 33, 132);
/* oklch */ color: oklch(36.7% 0.155 297.5);
Tailwind
colors: {
  custom: {
    50: '#8360a9',
    500: '#4b2184',
    950: '#000000',
  },
}
SCSS
$custom: #4b2184;
$custom-light: #8360a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2184",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 265.455,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36729,
    "c": 0.15477,
    "h": 297.5
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#4B2184
secondary
#88B64B
accent
#E345A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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