#4A20A5#4A20A5

#4A20A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.193 H 288.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4A20A5
RGBrgb(74, 32, 165)
HSLhsl(259, 68%, 39%)
HSVhsv(259, 81%, 65%)
CMYKcmyk(55.2%, 80.6%, 0%, 35.3%)
CIE-LABlab(27.31, 50.38, -63.70)
CIE-LCHlch(27.31, 81.21, 308.34°)
OKLaboklab(39.63% 0.0613 -0.1833)
OKLCHoklch(39.63% 0.193 288.5)
XYZxyz(10.1301, 5.2050, 36.0609)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20A5 #7BA520
analogous
#2038A5 #4A20A5 #8C20A5
triadic
#4A20A5 #A54A20 #20A54A
tetradic
#4A20A5 #A52038 #7BA520 #20A58C
square
#4A20A5 #A52038 #7BA520 #20A58C
split-complementary
#4A20A5 #A58C20 #38A520
monochromatic
#1C0C3E #331672 #4A20A5 #622CD6 #885FE0

Accessibility & contrast

On white

10.29
#4A20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20A5
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20A5#FFFFFF#000000##FFFFFF
##4A20A51.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#244763
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a20a5;
/* rgb */ color: rgb(74, 32, 165);
/* oklch */ color: oklch(39.6% 0.193 288.5);
Tailwind
colors: {
  custom: {
    50: '#8762c1',
    500: '#4a20a5',
    950: '#000000',
  },
}
SCSS
$custom: #4a20a5;
$custom-light: #8762c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20a5",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 258.947,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.19326,
    "h": 288.5
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#4A20A5
secondary
#A4C55C
accent
#EA3DB4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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