#4A20AF#4A20AF

#4A20AF is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.204 H 286.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4A20AF
RGBrgb(74, 32, 175)
HSLhsl(258, 69%, 41%)
HSVhsv(258, 82%, 69%)
CMYKcmyk(57.7%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.34, 53.12, -68.03)
CIE-LCHlch(28.34, 86.31, 307.98°)
OKLaboklab(40.65% 0.0579 -0.1959)
OKLCHoklch(40.65% 0.204 286.5)
XYZxyz(11.0761, 5.5834, 41.0432)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20AF #85AF20
analogous
#203EAF #4A20AF #9120AF
triadic
#4A20AF #AF4A20 #20AF4A
tetradic
#4A20AF #AF203E #85AF20 #20AF91
square
#4A20AF #AF203E #85AF20 #20AF91
split-complementary
#4A20AF #AF9120 #3EAF20
monochromatic
#1E0D48 #34177B #4A20AF #6433DA #8B66E3

Accessibility & contrast

On white

9.92
#4A20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4A20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20AF
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20AF#FFFFFF#000000##FFFFFF
##4A20AF1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#164C69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a20af;
/* rgb */ color: rgb(74, 32, 175);
/* oklch */ color: oklch(40.6% 0.204 286.5);
Tailwind
colors: {
  custom: {
    50: '#8962c8',
    500: '#4a20af',
    950: '#000000',
  },
}
SCSS
$custom: #4a20af;
$custom-light: #8962c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20af",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 257.622,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.20432,
    "h": 286.5
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#4A20AF
secondary
#AAC862
accent
#EC3CB8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4A20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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