#4A2DA1#4A2DA1

#4A2DA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.175 H 287.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4A2DA1
RGBrgb(74, 45, 161)
HSLhsl(255, 56%, 40%)
HSVhsv(255, 72%, 63%)
CMYKcmyk(54%, 72%, 0%, 36.9%)
CIE-LABlab(29.17, 42.85, -58.22)
CIE-LCHlch(29.17, 72.29, 306.35°)
OKLaboklab(40.82% 0.0523 -0.1673)
OKLCHoklch(40.82% 0.175 287.4)
XYZxyz(10.1935, 5.9053, 34.3140)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DA1 #84A12D
analogous
#2D4AA1 #4A2DA1 #842DA1
triadic
#4A2DA1 #A14A2D #2DA14A
tetradic
#4A2DA1 #A12D4A #84A12D #2DA184
square
#4A2DA1 #A12D4A #84A12D #2DA184
split-complementary
#4A2DA1 #A1842D #4AA12D
monochromatic
#1E1241 #342071 #4A2DA1 #6341CA #8B71D7

Accessibility & contrast

On white

9.63
#4A2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A2DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DA1
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DA1#FFFFFF#000000##FFFFFF
##4A2DA11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#274C64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2da1;
/* rgb */ color: rgb(74, 45, 161);
/* oklch */ color: oklch(40.8% 0.175 287.4);
Tailwind
colors: {
  custom: {
    50: '#8669be',
    500: '#4a2da1',
    950: '#000000',
  },
}
SCSS
$custom: #4a2da1;
$custom-light: #8669be;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2da1",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 255,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.17534,
    "h": 287.4
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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