#4A2AC1#4A2AC1

#4A2AC1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.216 H 282.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4A2AC1
RGBrgb(74, 42, 193)
HSLhsl(253, 64%, 46%)
HSVhsv(253, 78%, 76%)
CMYKcmyk(61.7%, 78.2%, 0%, 24.3%)
CIE-LABlab(31.72, 53.73, -73.14)
CIE-LCHlch(31.72, 90.75, 306.31°)
OKLaboklab(43.55% 0.0464 -0.2109)
OKLCHoklch(43.55% 0.216 282.4)
XYZxyz(13.2746, 6.9611, 51.0858)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AC1 #A1C12A
analogous
#2A55C1 #4A2AC1 #952AC1
triadic
#4A2AC1 #C14A2A #2AC14A
tetradic
#4A2AC1 #C12A55 #A1C12A #2AC195
square
#4A2AC1 #C12A55 #A1C12A #2AC195
split-complementary
#4A2AC1 #C1952A #55C12A
monochromatic
#23145C #371F8F #4A2AC1 #6D4FD9 #9682E4

Accessibility & contrast

On white

8.78
#4A2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4A2AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AC1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AC1#FFFFFF#000000##FFFFFF
##4A2AC11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2ac1;
/* rgb */ color: rgb(74, 42, 193);
/* oklch */ color: oklch(43.5% 0.216 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b68d5',
    500: '#4a2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ac1;
$custom-light: #8b68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ac1",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 252.715,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.21599,
    "h": 282.4
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#4A2AC1
secondary
#BBCD7A
accent
#E741C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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