#4A2DA2#4A2DA2

#4A2DA2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.177 H 287.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4A2DA2
RGBrgb(74, 45, 162)
HSLhsl(255, 57%, 41%)
HSVhsv(255, 72%, 64%)
CMYKcmyk(54.3%, 72.2%, 0%, 36.5%)
CIE-LABlab(29.26, 43.15, -58.68)
CIE-LCHlch(29.26, 72.83, 306.33°)
OKLaboklab(40.92% 0.0521 -0.1687)
OKLCHoklch(40.92% 0.177 287.2)
XYZxyz(10.2821, 5.9407, 34.7803)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DA2 #85A22D
analogous
#2D4AA2 #4A2DA2 #842DA2
triadic
#4A2DA2 #A24A2D #2DA24A
tetradic
#4A2DA2 #A22D4A #85A22D #2DA284
square
#4A2DA2 #A22D4A #85A22D #2DA284
split-complementary
#4A2DA2 #A2842D #4AA22D
monochromatic
#1E1242 #342072 #4A2DA2 #6442CA #8B72D8

Accessibility & contrast

On white

9.60
#4A2DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A2DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DA2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DA2#FFFFFF#000000##FFFFFF
##4A2DA21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#264C64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2da2;
/* rgb */ color: rgb(74, 45, 162);
/* oklch */ color: oklch(40.9% 0.177 287.2);
Tailwind
colors: {
  custom: {
    50: '#8669bf',
    500: '#4a2da2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2da2;
$custom-light: #8669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2da2",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 254.872,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.17656,
    "h": 287.2
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#4A2DA2
secondary
#AABF6C
accent
#E048BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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