#4A2984#4A2984

#4A2984 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.144 H 295.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4A2984
RGBrgb(74, 41, 132)
HSLhsl(262, 53%, 34%)
HSVhsv(262, 69%, 52%)
CMYKcmyk(43.9%, 68.9%, 0%, 48.2%)
CIE-LABlab(25.88, 36.56, -45.72)
CIE-LCHlch(25.88, 58.54, 308.65°)
OKLaboklab(37.7% 0.0615 -0.1306)
OKLCHoklch(37.7% 0.144 295.2)
XYZxyz(7.7807, 4.7075, 22.3240)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2984 #638429
analogous
#293684 #4A2984 #782984
triadic
#4A2984 #844A29 #29844A
tetradic
#4A2984 #842936 #638429 #298478
square
#4A2984 #842936 #638429 #298478
split-complementary
#4A2984 #847829 #368429
monochromatic
#160C27 #301A55 #4A2984 #6438B3 #845BCC

Accessibility & contrast

On white

10.82
#4A2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4A2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2984
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2984#FFFFFF#000000##FFFFFF
##4A29841.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#3B3F53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a2984;
/* rgb */ color: rgb(74, 41, 132);
/* oklch */ color: oklch(37.7% 0.144 295.2);
Tailwind
colors: {
  custom: {
    50: '#8265a8',
    500: '#4a2984',
    950: '#000000',
  },
}
SCSS
$custom: #4a2984;
$custom-light: #8265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2984",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 261.758,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37703,
    "c": 0.14439,
    "h": 295.2
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#4A2984
secondary
#91B257
accent
#DC4CA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4A2984

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

Preview Lab → · Contrast checker → · Palette generator →

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