#4A20A0#4A20A0

#4A20A0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.188 H 289.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4A20A0
RGBrgb(74, 32, 160)
HSLhsl(260, 67%, 38%)
HSVhsv(260, 80%, 63%)
CMYKcmyk(53.7%, 80%, 0%, 37.3%)
CIE-LABlab(26.81, 49.00, -61.49)
CIE-LCHlch(26.81, 78.63, 308.55°)
OKLaboklab(39.13% 0.0629 -0.1768)
OKLCHoklch(39.13% 0.188 289.6)
XYZxyz(9.6839, 5.0265, 33.7108)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20A0 #76A020
analogous
#2036A0 #4A20A0 #8A20A0
triadic
#4A20A0 #A04A20 #20A04A
tetradic
#4A20A0 #A02036 #76A020 #20A08A
square
#4A20A0 #A02036 #76A020 #20A08A
split-complementary
#4A20A0 #A08A20 #36A020
monochromatic
#1B0C3A #32166D #4A20A0 #622AD3 #875CDE

Accessibility & contrast

On white

10.47
#4A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4A20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20A0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20A0#FFFFFF#000000##FFFFFF
##4A20A01.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#294560
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a20a0;
/* rgb */ color: rgb(74, 32, 160);
/* oklch */ color: oklch(39.1% 0.188 289.6);
Tailwind
colors: {
  custom: {
    50: '#8661bd',
    500: '#4a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #4a20a0;
$custom-light: #8661bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20a0",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 259.688,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39134,
    "c": 0.18769,
    "h": 289.6
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#4A20A0
secondary
#A0C359
accent
#EA3EB1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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