#4B2084#4B2084

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

Color values

HEX#4B2084
RGBrgb(75, 32, 132)
HSLhsl(266, 61%, 32%)
HSVhsv(266, 76%, 52%)
CMYKcmyk(43.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(24.30, 41.51, -48.29)
CIE-LCHlch(24.30, 63.67, 310.68°)
OKLaboklab(36.61% 0.0725 -0.1381)
OKLCHoklch(36.61% 0.156 297.7)
XYZxyz(7.5819, 4.1947, 22.2355)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2084 #598420
analogous
#202784 #4B2084 #7D2084
triadic
#4B2084 #844B20 #20844B
tetradic
#4B2084 #842027 #598420 #20847D
square
#4B2084 #842027 #598420 #20847D
split-complementary
#4B2084 #847D20 #278420
monochromatic
#130821 #2F1453 #4B2084 #672CB5 #864BD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2084#FFFFFF#000000##FFFFFF
##4B20841.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)
#003A87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#3D3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2084;
/* rgb */ color: rgb(75, 32, 132);
/* oklch */ color: oklch(36.6% 0.156 297.7);
Tailwind
colors: {
  custom: {
    50: '#8360a9',
    500: '#4b2084',
    950: '#000000',
  },
}
SCSS
$custom: #4b2084;
$custom-light: #8360a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2084",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 265.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.15596,
    "h": 297.7
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#4B2084
secondary
#87B64A
accent
#E4449F
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2084

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

Preview Lab → · Contrast checker → · Palette generator →

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