#4A2AA9#4A2AA9

#4A2AA9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.188 H 286.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4A2AA9
RGBrgb(74, 42, 169)
HSLhsl(255, 60%, 41%)
HSVhsv(255, 75%, 66%)
CMYKcmyk(56.2%, 75.1%, 0%, 33.7%)
CIE-LABlab(29.35, 46.78, -62.76)
CIE-LCHlch(29.35, 78.28, 306.70°)
OKLaboklab(41.18% 0.053 -0.1806)
OKLCHoklch(41.18% 0.188 286.3)
XYZxyz(10.8113, 5.9757, 38.1122)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AA9 #89A92A
analogous
#2A4AA9 #4A2AA9 #8A2AA9
triadic
#4A2AA9 #A94A2A #2AA94A
tetradic
#4A2AA9 #A92A4A #89A92A #2AA98A
square
#4A2AA9 #A92A4A #89A92A #2AA98A
split-complementary
#4A2AA9 #A98A2A #4AA92A
monochromatic
#1F1247 #351E78 #4A2AA9 #6541D0 #8C72DC

Accessibility & contrast

On white

9.57
#4A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AA9
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AA9#FFFFFF#000000##FFFFFF
##4A2AA91.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#1E4D67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2aa9;
/* rgb */ color: rgb(74, 42, 169);
/* oklch */ color: oklch(41.2% 0.188 286.3);
Tailwind
colors: {
  custom: {
    50: '#8767c4',
    500: '#4a2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2aa9;
$custom-light: #8767c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2aa9",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 255.118,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.18823,
    "h": 286.3
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#4A2AA9
secondary
#ADC36C
accent
#E344BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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