#4B2082#4B2082

#4B2082 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.154 H 298.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4B2082
RGBrgb(75, 32, 130)
HSLhsl(266, 60%, 32%)
HSVhsv(266, 75%, 51%)
CMYKcmyk(42.3%, 75.4%, 0%, 49%)
CIE-LABlab(24.13, 40.97, -47.31)
CIE-LCHlch(24.13, 62.59, 310.89°)
OKLaboklab(36.43% 0.073 -0.1352)
OKLCHoklch(36.43% 0.154 298.3)
XYZxyz(7.4464, 4.1405, 21.5216)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2082 #578220
analogous
#202682 #4B2082 #7C2082
triadic
#4B2082 #824B20 #20824B
tetradic
#4B2082 #822026 #578220 #20827C
square
#4B2082 #822026 #578220 #20827C
split-complementary
#4B2082 #827C20 #268220
monochromatic
#120820 #2F1451 #4B2082 #672CB3 #864AD2

Accessibility & contrast

On white

11.49
#4B2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2082
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2082#FFFFFF#000000##FFFFFF
##4B20821.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#3D394F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b2082;
/* rgb */ color: rgb(75, 32, 130);
/* oklch */ color: oklch(36.4% 0.154 298.3);
Tailwind
colors: {
  custom: {
    50: '#8360a7',
    500: '#4b2082',
    950: '#000000',
  },
}
SCSS
$custom: #4b2082;
$custom-light: #8360a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2082",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 266.327,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.15365,
    "h": 298.3
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#4B2082
secondary
#85B549
accent
#E4449E
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2082

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

Preview Lab → · Contrast checker → · Palette generator →

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