#4A2AC2#4A2AC2

#4A2AC2 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.217 H 282.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4A2AC2
RGBrgb(74, 42, 194)
HSLhsl(253, 64%, 46%)
HSVhsv(253, 78%, 76%)
CMYKcmyk(61.9%, 78.4%, 0%, 23.9%)
CIE-LABlab(31.82, 54.02, -73.56)
CIE-LCHlch(31.82, 91.26, 306.29°)
OKLaboklab(43.65% 0.0461 -0.2122)
OKLCHoklch(43.65% 0.217 282.3)
XYZxyz(13.3866, 7.0059, 51.6753)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AC2 #A2C22A
analogous
#2A56C2 #4A2AC2 #962AC2
triadic
#4A2AC2 #C24A2A #2AC24A
tetradic
#4A2AC2 #C22A56 #A2C22A #2AC296
square
#4A2AC2 #C22A56 #A2C22A #2AC296
split-complementary
#4A2AC2 #C2962A #56C22A
monochromatic
#24145D #371F90 #4A2AC2 #6D50D9 #9782E4

Accessibility & contrast

On white

8.74
#4A2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A2AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AC2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AC2#FFFFFF#000000##FFFFFF
##4A2AC21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2ac2;
/* rgb */ color: rgb(74, 42, 194);
/* oklch */ color: oklch(43.6% 0.217 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c69d6',
    500: '#4a2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ac2;
$custom-light: #8c69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ac2",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 252.632,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.21713,
    "h": 282.3
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#4A2AC2
secondary
#BCCD7B
accent
#E740C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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