#4A20C3#4A20C3

#4A20C3 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.7% C 0.226 H 283.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4A20C3
RGBrgb(74, 32, 195)
HSLhsl(255, 72%, 45%)
HSVhsv(255, 84%, 76%)
CMYKcmyk(62.1%, 83.6%, 0%, 23.5%)
CIE-LABlab(30.47, 58.56, -76.38)
CIE-LCHlch(30.47, 96.24, 307.48°)
OKLaboklab(42.74% 0.051 -0.2203)
OKLCHoklch(42.74% 0.226 283)
XYZxyz(13.1878, 6.4281, 52.1650)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20C3 #99C320
analogous
#2048C3 #4A20C3 #9C20C3
triadic
#4A20C3 #C34A20 #20C34A
tetradic
#4A20C3 #C32048 #99C320 #20C39C
square
#4A20C3 #C32048 #99C320 #20C39C
split-complementary
#4A20C3 #C39C20 #48C320
monochromatic
#220F5A #36178E #4A20C3 #6A40E0 #9375E8

Accessibility & contrast

On white

9.19
#4A20C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A20C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20C3
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20C3#FFFFFF#000000##FFFFFF
##4A20C31.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a20c3;
/* rgb */ color: rgb(74, 32, 195);
/* oklch */ color: oklch(42.7% 0.226 283.0);
Tailwind
colors: {
  custom: {
    50: '#8c64d7',
    500: '#4a20c3',
    950: '#000000',
  },
}
SCSS
$custom: #4a20c3;
$custom-light: #8c64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20c3",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 255.46,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.22608,
    "h": 283
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#4A20C3
secondary
#B7CF6F
accent
#EF39C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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