#4A2AC0#4A2AC0

#4A2AC0 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.215 H 282.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4A2AC0
RGBrgb(74, 42, 192)
HSLhsl(253, 64%, 46%)
HSVhsv(253, 78%, 75%)
CMYKcmyk(61.5%, 78.1%, 0%, 24.7%)
CIE-LABlab(31.62, 53.45, -72.72)
CIE-LCHlch(31.62, 90.25, 306.32°)
OKLaboklab(43.44% 0.0467 -0.2097)
OKLCHoklch(43.44% 0.215 282.6)
XYZxyz(13.1635, 6.9166, 50.5003)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AC0 #A0C02A
analogous
#2A55C0 #4A2AC0 #952AC0
triadic
#4A2AC0 #C04A2A #2AC04A
tetradic
#4A2AC0 #C02A55 #A0C02A #2AC095
square
#4A2AC0 #C02A55 #A0C02A #2AC095
split-complementary
#4A2AC0 #C0952A #55C02A
monochromatic
#23145C #371F8E #4A2AC0 #6C4FD8 #9681E3

Accessibility & contrast

On white

8.81
#4A2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AC0
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AC0#FFFFFF#000000##FFFFFF
##4A2AC01.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC4
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005675
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2ac0;
/* rgb */ color: rgb(74, 42, 192);
/* oklch */ color: oklch(43.4% 0.215 282.6);
Tailwind
colors: {
  custom: {
    50: '#8b68d4',
    500: '#4a2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ac0;
$custom-light: #8b68d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ac0",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 252.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.21486,
    "h": 282.6
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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