#4B2282#4B2282

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

Color values

HEX#4B2282
RGBrgb(75, 34, 130)
HSLhsl(266, 59%, 32%)
HSVhsv(266, 74%, 51%)
CMYKcmyk(42.3%, 73.8%, 0%, 49%)
CIE-LABlab(24.49, 39.97, -46.73)
CIE-LCHlch(24.49, 61.49, 310.54°)
OKLaboklab(36.68% 0.0709 -0.1335)
OKLCHoklch(36.68% 0.151 298)
XYZxyz(7.5019, 4.2515, 21.5401)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2282 #598222
analogous
#222982 #4B2282 #7B2282
triadic
#4B2282 #824B22 #22824B
tetradic
#4B2282 #822229 #598222 #22827B
square
#4B2282 #822229 #598222 #22827B
split-complementary
#4B2282 #827B22 #298222
monochromatic
#130921 #2F1551 #4B2282 #672FB3 #864ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2282#FFFFFF#000000##FFFFFF
##4B22821.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)
#003A85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#3D3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2282;
/* rgb */ color: rgb(75, 34, 130);
/* oklch */ color: oklch(36.7% 0.151 298.0);
Tailwind
colors: {
  custom: {
    50: '#8361a7',
    500: '#4b2282',
    950: '#000000',
  },
}
SCSS
$custom: #4b2282;
$custom-light: #8361a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2282",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 265.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.15121,
    "h": 298
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#4B2282
secondary
#87B44C
accent
#E2469F
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B2282

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

Preview Lab → · Contrast checker → · Palette generator →

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