#4A2184#4A2184

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

Color values

HEX#4A2184
RGBrgb(74, 33, 132)
HSLhsl(265, 60%, 32%)
HSVhsv(265, 75%, 52%)
CMYKcmyk(43.9%, 75%, 0%, 48.2%)
CIE-LABlab(24.35, 40.83, -48.21)
CIE-LCHlch(24.35, 63.18, 310.26°)
OKLaboklab(36.61% 0.07 -0.1379)
OKLCHoklch(36.61% 0.155 296.9)
XYZxyz(7.5317, 4.2094, 22.2410)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2184 #5B8421
analogous
#212A84 #4A2184 #7B2184
triadic
#4A2184 #844A21 #21844A
tetradic
#4A2184 #84212A #5B8421 #21847B
square
#4A2184 #84212A #5B8421 #21847B
split-complementary
#4A2184 #847B21 #2A8421
monochromatic
#130922 #2F1553 #4A2184 #652DB5 #844DD2

Accessibility & contrast

On white

11.40
#4A2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2184
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2184#FFFFFF#000000##FFFFFF
##4A21841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2184;
/* rgb */ color: rgb(74, 33, 132);
/* oklch */ color: oklch(36.6% 0.155 296.9);
Tailwind
colors: {
  custom: {
    50: '#8260a9',
    500: '#4a2184',
    950: '#000000',
  },
}
SCSS
$custom: #4a2184;
$custom-light: #8260a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2184",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 264.848,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3661,
    "c": 0.15465,
    "h": 296.9
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#4A2184
secondary
#8AB64B
accent
#E345A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2184

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

Preview Lab → · Contrast checker → · Palette generator →

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