#4B2182#4B2182

#4B2182 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.152 H 298.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#4B2182
RGBrgb(75, 33, 130)
HSLhsl(266, 60%, 32%)
HSVhsv(266, 75%, 51%)
CMYKcmyk(42.3%, 74.6%, 0%, 49%)
CIE-LABlab(24.31, 40.47, -47.02)
CIE-LCHlch(24.31, 62.04, 310.72°)
OKLaboklab(36.55% 0.072 -0.1344)
OKLCHoklch(36.55% 0.152 298.2)
XYZxyz(7.4737, 4.1952, 21.5308)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2182 #588221
analogous
#212882 #4B2182 #7C2182
triadic
#4B2182 #824B21 #21824B
tetradic
#4B2182 #822128 #588221 #21827C
square
#4B2182 #822128 #588221 #21827C
split-complementary
#4B2182 #827C21 #288221
monochromatic
#130820 #2F1551 #4B2182 #672DB3 #864CD2

Accessibility & contrast

On white

11.42
#4B2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2182
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2182#FFFFFF#000000##FFFFFF
##4B21821.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#3D394F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2182;
/* rgb */ color: rgb(75, 33, 130);
/* oklch */ color: oklch(36.6% 0.152 298.2);
Tailwind
colors: {
  custom: {
    50: '#8360a7',
    500: '#4b2182',
    950: '#000000',
  },
}
SCSS
$custom: #4b2182;
$custom-light: #8360a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2182",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 265.979,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.15244,
    "h": 298.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#4B2182
secondary
#87B44A
accent
#E3459E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2182

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

Preview Lab → · Contrast checker → · Palette generator →

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